de.upb.swt.epctools.model.tools
Interface ModelListener

All Known Implementing Classes:
AndConnector, ArcPart, CItem, EPC, EPCSimulator, EpctoolsEditor, EventItem, FunctionItem, Item, Node, NodePart, ObjectItem, OrConnector, RangeConnector, RoleItem, SimAndConnector, SimConnector, SimEPC, SimEventItem, SimFunctionItem, SimItem, SimNode, SimOrConnector, SimXorConnector, XorConnector

public interface ModelListener

This is an interface implemented by listener classes waiting for messages from the EPC model. It contains a callback function getMessage().


Field Summary
static int MSG_ARC_ADDED
           
static int MSG_ARC_RECONNECTED
           
static int MSG_ARC_REMOVED
           
static int MSG_BEND_POINT_CHANGE
           
static int MSG_CHANGED_ALGORITHM
           
static int MSG_CONSTRAINT_CHANGED
           
static int MSG_DESCRIPTION_CHANGED
           
static int MSG_FOLDERS_CHANGED
           
static int MSG_HIGHLIGHTING_CHANGED
           
static int MSG_IN_ARC_ADDED
           
static int MSG_IN_ARC_REMOVED
           
static int MSG_INFO_CHANGED
           
static int MSG_LOCATION_CHANGED
           
static int MSG_NAME_CHANGED
           
static int MSG_NODE_ADDED
           
static int MSG_NODE_REMOVED
           
static int MSG_OUT_ARC_ADDED
           
static int MSG_OUT_ARC_REMOVED
           
static int MSG_SIZE_CHANGED
           
static int MSG_SOURCE_CHANGED
           
static int MSG_STRUCTURE_CHANGED
           
static int MSG_TARGET_CHANGED
           
 
Method Summary
 void getMessage(int msg_id)
          This function is the listener callback function
 

Field Detail

MSG_HIGHLIGHTING_CHANGED

static final int MSG_HIGHLIGHTING_CHANGED
See Also:
Constant Field Values

MSG_NAME_CHANGED

static final int MSG_NAME_CHANGED
See Also:
Constant Field Values

MSG_DESCRIPTION_CHANGED

static final int MSG_DESCRIPTION_CHANGED
See Also:
Constant Field Values

MSG_LOCATION_CHANGED

static final int MSG_LOCATION_CHANGED
See Also:
Constant Field Values

MSG_SIZE_CHANGED

static final int MSG_SIZE_CHANGED
See Also:
Constant Field Values

MSG_CONSTRAINT_CHANGED

static final int MSG_CONSTRAINT_CHANGED
See Also:
Constant Field Values

MSG_OUT_ARC_ADDED

static final int MSG_OUT_ARC_ADDED
See Also:
Constant Field Values

MSG_NODE_ADDED

static final int MSG_NODE_ADDED
See Also:
Constant Field Values

MSG_NODE_REMOVED

static final int MSG_NODE_REMOVED
See Also:
Constant Field Values

MSG_ARC_ADDED

static final int MSG_ARC_ADDED
See Also:
Constant Field Values

MSG_ARC_REMOVED

static final int MSG_ARC_REMOVED
See Also:
Constant Field Values

MSG_ARC_RECONNECTED

static final int MSG_ARC_RECONNECTED
See Also:
Constant Field Values

MSG_IN_ARC_ADDED

static final int MSG_IN_ARC_ADDED
See Also:
Constant Field Values

MSG_OUT_ARC_REMOVED

static final int MSG_OUT_ARC_REMOVED
See Also:
Constant Field Values

MSG_IN_ARC_REMOVED

static final int MSG_IN_ARC_REMOVED
See Also:
Constant Field Values

MSG_BEND_POINT_CHANGE

static final int MSG_BEND_POINT_CHANGE
See Also:
Constant Field Values

MSG_SOURCE_CHANGED

static final int MSG_SOURCE_CHANGED
See Also:
Constant Field Values

MSG_TARGET_CHANGED

static final int MSG_TARGET_CHANGED
See Also:
Constant Field Values

MSG_FOLDERS_CHANGED

static final int MSG_FOLDERS_CHANGED
See Also:
Constant Field Values

MSG_STRUCTURE_CHANGED

static final int MSG_STRUCTURE_CHANGED
See Also:
Constant Field Values

MSG_INFO_CHANGED

static final int MSG_INFO_CHANGED
See Also:
Constant Field Values

MSG_CHANGED_ALGORITHM

static final int MSG_CHANGED_ALGORITHM
See Also:
Constant Field Values
Method Detail

getMessage

void getMessage(int msg_id)
This function is the listener callback function

Parameters:
msg_id - Message id