Protege 3.4.5

edu.stanford.smi.protege.event
Class ProjectEvent

java.lang.Object
  extended by java.util.EventObject
      extended by edu.stanford.smi.protege.util.SessionEvent
          extended by edu.stanford.smi.protege.util.AbstractEvent
              extended by edu.stanford.smi.protege.event.ProjectEvent
All Implemented Interfaces:
Event, Localizable, Serializable

public class ProjectEvent
extends AbstractEvent

Event generated when the project changes.

Author:
Ray Fergerson
See Also:
Serialized Form

Field Summary
static int FORM_CHANGED
           
static int PROJECT_CLOSED
           
static int PROJECT_SAVED
           
static int RUNTIME_CLS_WIDGET_CREATED
           
static int SERVER_SESSION_LOST
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProjectEvent(Project project, int type)
           
ProjectEvent(Project project, int type, ClsWidget widget)
           
 
Method Summary
 Cls getCls()
           
 ClsWidget getClsWidget()
           
 
Methods inherited from class edu.stanford.smi.protege.util.AbstractEvent
equals, equals, getArgument, getArgument1, getArgument2, getArgument3, getEventType, getSource, getTimeStamp, getUserName, hashCode, isReplacementEvent, localize, setReplacementEvent, setSource, setTimeStamp, toString
 
Methods inherited from class edu.stanford.smi.protege.util.SessionEvent
getSession, isHiddenByTransaction, setHiddenByTransaction
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FORM_CHANGED

public static final int FORM_CHANGED
See Also:
Constant Field Values

PROJECT_SAVED

public static final int PROJECT_SAVED
See Also:
Constant Field Values

PROJECT_CLOSED

public static final int PROJECT_CLOSED
See Also:
Constant Field Values

RUNTIME_CLS_WIDGET_CREATED

public static final int RUNTIME_CLS_WIDGET_CREATED
See Also:
Constant Field Values

SERVER_SESSION_LOST

public static final int SERVER_SESSION_LOST
See Also:
Constant Field Values
Constructor Detail

ProjectEvent

public ProjectEvent(Project project,
                    int type,
                    ClsWidget widget)

ProjectEvent

public ProjectEvent(Project project,
                    int type)
Method Detail

getCls

public Cls getCls()

getClsWidget

public ClsWidget getClsWidget()

Protege 3.4.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.