de.upb.swt.epctools.model
Class EventItem
java.lang.Object
de.upb.swt.epctools.model.Node
de.upb.swt.epctools.model.Item
de.upb.swt.epctools.model.EventItem
- All Implemented Interfaces:
- ModelListener, java.beans.PropertyChangeListener, java.util.EventListener, org.eclipse.core.runtime.IAdaptable
public class EventItem
- extends Item
- implements org.eclipse.core.runtime.IAdaptable, java.beans.PropertyChangeListener
This class represents an EPC event node
| Fields inherited from class de.upb.swt.epctools.model.Node |
m_description, m_name, part, STATE_FALSE, STATE_TRUE, STATE_UNKNOWN, TYPE_AND, TYPE_EVENT, TYPE_FUNCTION, TYPE_NONE, TYPE_OBJECT, TYPE_OR, TYPE_RANGE, TYPE_ROLE, TYPE_XOR |
| Fields inherited from interface de.upb.swt.epctools.model.tools.ModelListener |
MSG_ARC_ADDED, MSG_ARC_RECONNECTED, MSG_ARC_REMOVED, MSG_BEND_POINT_CHANGE, MSG_CHANGED_ALGORITHM, MSG_CONSTRAINT_CHANGED, MSG_DESCRIPTION_CHANGED, MSG_FOLDERS_CHANGED, MSG_HIGHLIGHTING_CHANGED, MSG_IN_ARC_ADDED, MSG_IN_ARC_REMOVED, MSG_INFO_CHANGED, MSG_LOCATION_CHANGED, MSG_NAME_CHANGED, MSG_NODE_ADDED, MSG_NODE_REMOVED, MSG_OUT_ARC_ADDED, MSG_OUT_ARC_REMOVED, MSG_SIZE_CHANGED, MSG_SOURCE_CHANGED, MSG_STRUCTURE_CHANGED, MSG_TARGET_CHANGED |
| Methods inherited from class de.upb.swt.epctools.model.Node |
addListener, createNode, forwardMessage, getColor, getDescription, getDistantParent, getEPC, getHeight, getId, getIncomingArcs, getListeners, getMessage, getName, getOutgoingArcs, getPosX, getPosY, getType, getTypes, getTypeString, getWidth, hasLocalSemantics, isHighlighted, removeListener, sendRefreshMessage, setColor, setConstraint, setDescription, setHeight, setHighlighted, setId, setName, setPosition, setType, setWidth, simpleIsEnabled, simpleIsInContact, simpleNextStateComputation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_NAME
private static final java.lang.String PROPERTY_NAME
- See Also:
- Constant Field Values
propertyManager
PropertyManager propertyManager
nameProperty
ReadableProperty nameProperty
EventItem
public EventItem(EPC parent_epc)
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Return a reference to the PropertyManager, which will handle interaction
with the PropertiesView
- Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
getPropertyManager
public PropertyManager getPropertyManager()
- Returns:
- the property manager. If it has not already been created, create
it now and add the properties to it
addProperties
private void addProperties(PropertyManager manager)
- Adds any properties that should be exposed to the user to the
PropertyManager
- Parameters:
manager - The PropertyManager to which the properties should be added.
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener