public class WorkflowEditEvent
extends java.util.EventObject
This class defines workflow editor events
Modifier and Type | Field and Description |
---|---|
static int |
NODE_ADDED |
static int |
NODE_MOVED |
static int |
NODE_MOVING |
static int |
NODE_REMOVED |
static int |
NODE_SELECTED |
static int |
RELATIONSHIP_ADDED |
static int |
RELATIONSHIP_REMOVED |
static int |
RELATIONSHIP_SELECTED |
static int |
UNDOSTATE_CHANGE |
Constructor and Description |
---|
WorkflowEditEvent(java.lang.Object source,
int type,
Workflow workflow,
WorkflowEntity entity)
Constructs the WorkflowEditEvent
|
Modifier and Type | Method and Description |
---|---|
WorkflowEntity |
getEntity()
Gets the affected entity
|
int |
getType()
Gets the event type
|
Workflow |
getWorkflow()
Gets the workflow
|
public static final int NODE_ADDED
public static final int NODE_REMOVED
public static final int NODE_SELECTED
public static final int NODE_MOVING
public static final int NODE_MOVED
public static final int RELATIONSHIP_ADDED
public static final int RELATIONSHIP_REMOVED
public static final int RELATIONSHIP_SELECTED
public static final int UNDOSTATE_CHANGE
public WorkflowEditEvent(java.lang.Object source, int type, Workflow workflow, WorkflowEntity entity)
source
- The event sourcetype
- The event typeworkflow
- The workflowobject
- The object affected - node/relationshippublic int getType()
public Workflow getWorkflow()
public WorkflowEntity getEntity()