|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.upb.swt.epctools.model.Node
de.upb.swt.epctools.model.Item
de.upb.swt.epctools.model.CItem
de.upb.swt.epctools.model.XorConnector
public class XorConnector
This class represents an EPC xor-connector.
| Field Summary | |
|---|---|
private int |
cgoto
|
(package private) EditableComboProperty |
cgotoProp
|
(package private) EditableBooleanProperty |
configurableProp
|
private java.lang.String |
cvalue
|
(package private) EditableComboProperty |
cvalueProp
|
private static java.lang.String |
PROPERTY_CGOTO
|
private static java.lang.String |
PROPERTY_CONFIGURABLE
|
private static java.lang.String |
PROPERTY_CVALUE
|
(package private) PropertyManager |
propertyManager
|
| Fields inherited from class de.upb.swt.epctools.model.CItem |
|---|
configurable |
| Fields inherited from class de.upb.swt.epctools.model.Item |
|---|
C_WIDTH, FE_HEIGHT, FERO_WIDTH, ROC_HEIGHT |
| 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 |
| Constructor Summary | |
|---|---|
XorConnector(EPC parent_epc)
Initialization. |
|
| Method Summary | |
|---|---|
private void |
addProperties(PropertyManager manager)
Adds any properties that should be exposed to the user to the PropertyManager |
void |
computeNextState()
This function must be overwritten by derived classes; it computes the resulting state when process folders are processed to outgoing Arcs. |
java.lang.Object |
getAdapter(java.lang.Class adapter)
Return a reference to the PropertyManager, which will handle interaction with the PropertiesView |
int |
getCGoto()
|
java.lang.String |
getCValue()
|
void |
getMessage(int msg_id)
This function is the listener callback function |
PropertyManager |
getPropertyManager()
|
byte |
isEnabled()
This function should be overwritten by derived classes to return whether the concerned Node may process folders to the Outgoing Arcs. |
byte |
isInContact()
Returns true if the Node is in a contact situation in the actual state. |
private boolean |
isSplitorJoin()
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
setCGoto(int value)
|
private void |
setCgotoComboItems()
|
void |
setCValue(java.lang.String value)
|
| Methods inherited from class de.upb.swt.epctools.model.CItem |
|---|
isConfigurable, setConfigurable |
| Methods inherited from class de.upb.swt.epctools.model.Node |
|---|
addListener, createNode, forwardMessage, getColor, getDescription, getDistantParent, getEPC, getHeight, getId, getIncomingArcs, getListeners, 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 |
| Field Detail |
|---|
private java.lang.String cvalue
private int cgoto
private static final java.lang.String PROPERTY_CONFIGURABLE
private static final java.lang.String PROPERTY_CVALUE
private static final java.lang.String PROPERTY_CGOTO
PropertyManager propertyManager
EditableBooleanProperty configurableProp
EditableComboProperty cvalueProp
EditableComboProperty cgotoProp
| Constructor Detail |
|---|
public XorConnector(EPC parent_epc)
| Method Detail |
|---|
public void setCValue(java.lang.String value)
public java.lang.String getCValue()
public void setCGoto(int value)
public int getCGoto()
public void computeNextState()
Node
computeNextState in class Itempublic byte isEnabled()
Node
isEnabled in class Itempublic byte isInContact()
Node
isInContact in class Itempublic java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablepublic PropertyManager getPropertyManager()
private void addProperties(PropertyManager manager)
manager - The PropertyManager to which the properties should be added.private boolean isSplitorJoin()
private void setCgotoComboItems()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpublic void getMessage(int msg_id)
ModelListener
getMessage in interface ModelListenergetMessage in class Nodemsg_id - Message id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||