org.drools.eclipse.flow.common.editor.core
Interface ElementWrapper

All Known Subinterfaces:
NodeWrapper
All Known Implementing Classes:
AbstractNodeWrapper, ActionWrapper, CompositeContextNodeWrapper, CompositeNodeWrapper, DefaultElementWrapper, DefaultNodeWrapper, DynamicNodeWrapper, ElementContainerElementWrapper, EndNodeWrapper, EventNodeWrapper, ExtendedNodeWrapper, FaultNodeWrapper, ForEachNodeWrapper, HumanTaskNodeWrapper, JoinWrapper, MilestoneWrapper, RuleSetNodeWrapper, SplitWrapper, StartNodeWrapper, StateBasedNodeWrapper, StateNodeWrapper, SubProcessWrapper, TimerWrapper, WorkItemWrapper

public interface ElementWrapper

Wrapper of a model element.


Field Summary
static int CHANGE_CONSTRAINT
           
static int CHANGE_ID
           
static int CHANGE_INCOMING_CONNECTIONS
           
static int CHANGE_NAME
           
static int CHANGE_OUTGOING_CONNECTIONS
           
 
Method Summary
 boolean acceptsIncomingConnection(ElementConnection connection, ElementWrapper source)
           
 boolean acceptsOutgoingConnection(ElementConnection connection, ElementWrapper target)
           
 void addIncomingConnection(ElementConnection connection)
           
 void addListener(ModelListener listener)
           
 void addOutgoingConnection(ElementConnection connection)
           
 org.eclipse.draw2d.geometry.Rectangle getConstraint()
           
 String getId()
           
 List<ElementConnection> getIncomingConnections()
           
 String getName()
           
 List<ElementConnection> getOutgoingConnections()
           
 ElementContainer getParent()
           
 void localAddIncomingConnection(ElementConnection connection)
           
 void localAddOutgoingConnection(ElementConnection connection)
           
 void removeIncomingConnection(ElementConnection connection)
           
 void removeListener(ModelListener listener)
           
 void removeOutgoingConnection(ElementConnection connection)
           
 void setConstraint(org.eclipse.draw2d.geometry.Rectangle constraint)
           
 void setName(String name)
           
 void setParent(ElementContainer parent)
           
 

Field Detail

CHANGE_ID

static final int CHANGE_ID
See Also:
Constant Field Values

CHANGE_INCOMING_CONNECTIONS

static final int CHANGE_INCOMING_CONNECTIONS
See Also:
Constant Field Values

CHANGE_OUTGOING_CONNECTIONS

static final int CHANGE_OUTGOING_CONNECTIONS
See Also:
Constant Field Values

CHANGE_CONSTRAINT

static final int CHANGE_CONSTRAINT
See Also:
Constant Field Values

CHANGE_NAME

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

getId

String getId()

getName

String getName()

setName

void setName(String name)

setConstraint

void setConstraint(org.eclipse.draw2d.geometry.Rectangle constraint)

getConstraint

org.eclipse.draw2d.geometry.Rectangle getConstraint()

setParent

void setParent(ElementContainer parent)

getParent

ElementContainer getParent()

getOutgoingConnections

List<ElementConnection> getOutgoingConnections()

getIncomingConnections

List<ElementConnection> getIncomingConnections()

addIncomingConnection

void addIncomingConnection(ElementConnection connection)

localAddIncomingConnection

void localAddIncomingConnection(ElementConnection connection)

removeIncomingConnection

void removeIncomingConnection(ElementConnection connection)

addOutgoingConnection

void addOutgoingConnection(ElementConnection connection)

localAddOutgoingConnection

void localAddOutgoingConnection(ElementConnection connection)

removeOutgoingConnection

void removeOutgoingConnection(ElementConnection connection)

acceptsIncomingConnection

boolean acceptsIncomingConnection(ElementConnection connection,
                                  ElementWrapper source)

acceptsOutgoingConnection

boolean acceptsOutgoingConnection(ElementConnection connection,
                                  ElementWrapper target)

addListener

void addListener(ModelListener listener)

removeListener

void removeListener(ModelListener listener)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.