|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractEdgeCreationEditPolicy
org.topcased.modeler.uml.sequencediagram.policies.MessageEdgeCreationEditPolicy
public class MessageEdgeCreationEditPolicy
Message edge creation
Constructor Summary | |
---|---|
MessageEdgeCreationEditPolicy()
|
Method Summary | |
---|---|
protected boolean |
checkCommand(org.eclipse.gef.commands.Command command)
|
protected boolean |
checkEdge(GraphEdge edge)
|
protected boolean |
checkReconnectSource(GraphNode source,
GraphEdge edge)
Check if the source can be reconnected |
protected boolean |
checkReconnectTarget(GraphNode target,
GraphEdge edge)
Check if the target can be reconnected |
protected boolean |
checkSource(GraphElement source)
!! |
protected boolean |
checkSource(GraphNode source,
GraphEdge edge)
Check if the sourceNode is valid for the given Message. |
protected boolean |
checkTargetForSource(GraphElement source,
GraphElement target)
!! |
protected boolean |
checkTargetForSource(GraphNode source,
GraphNode target,
GraphEdge edge)
Check if the targetNode is valid for the given sourceNode and Message. |
protected CreateTypedEdgeCommand |
createCommand(org.eclipse.gef.EditDomain domain,
GraphEdge edge,
GraphElement source)
!! |
protected org.eclipse.gef.commands.Command |
getConnectionCompleteCommand(org.eclipse.gef.requests.CreateConnectionRequest request)
Handle the various type of message |
protected org.eclipse.gef.commands.Command |
getConnectionCreateCommand(org.eclipse.gef.requests.CreateConnectionRequest request)
Handle the various type (depending on the MessageSort property) of the Message |
protected org.eclipse.gef.editpolicies.FeedbackHelper |
getFeedbackHelper(org.eclipse.gef.requests.CreateConnectionRequest request)
|
protected org.eclipse.gef.commands.Command |
getReconnectSourceCommand(org.eclipse.gef.requests.ReconnectRequest request)
|
protected org.eclipse.gef.commands.Command |
getReconnectTargetCommand(org.eclipse.gef.requests.ReconnectRequest request)
|
protected SourceTargetData |
getSourceTargetData(GraphEdge edge)
Retrieve the SourceTargetData corresponding to the type (depending on the MessageSort property) of Message that is created |
protected SourceTargetData |
getSourceTargetData(GraphElement source,
GraphElement target)
!! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageEdgeCreationEditPolicy()
Method Detail |
---|
protected CreateTypedEdgeCommand createCommand(org.eclipse.gef.EditDomain domain, GraphEdge edge, GraphElement source)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#createCommand(org.eclipse.gef.EditDomain,
org.topcased.modeler.di.model.GraphEdge, org.topcased.modeler.di.model.GraphElement)
protected boolean checkEdge(GraphEdge edge)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkEdge(org.topcased.modeler.di.model.GraphEdge)
protected boolean checkSource(GraphElement source)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkSource(org.topcased.modeler.di.model.GraphElement)
protected boolean checkSource(GraphNode source, GraphEdge edge)
source
- the sourceNodeedge
- the graphEdge that represent the Message
protected boolean checkTargetForSource(GraphElement source, GraphElement target)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkTargetForSource(org.topcased.modeler.di.model.GraphElement,
org.topcased.modeler.di.model.GraphElement)
protected boolean checkTargetForSource(GraphNode source, GraphNode target, GraphEdge edge)
source
- the sourceNodetarget
- the targetNodeedge
- the graphEdge that represent the Message
protected boolean checkCommand(org.eclipse.gef.commands.Command command)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#checkCommand(org.eclipse.gef.commands.Command)
protected SourceTargetData getSourceTargetData(GraphElement source, GraphElement target)
org.topcased.modeler.edit.policies.AbstractEdgeCreationEditPolicy#getSourceTargetData(org.topcased.modeler.di.model.GraphElement,
org.topcased.modeler.di.model.GraphElement)
protected SourceTargetData getSourceTargetData(GraphEdge edge)
edge
- the edge associated with the Message
protected org.eclipse.gef.commands.Command getConnectionCreateCommand(org.eclipse.gef.requests.CreateConnectionRequest request)
GraphicalNodeEditPolicy.getConnectionCreateCommand(org.eclipse.gef.requests.CreateConnectionRequest)
protected org.eclipse.gef.commands.Command getConnectionCompleteCommand(org.eclipse.gef.requests.CreateConnectionRequest request)
GraphicalNodeEditPolicy.getConnectionCompleteCommand(org.eclipse.gef.requests.CreateConnectionRequest)
protected boolean checkReconnectSource(GraphNode source, GraphEdge edge)
source
- the source of the edgeedge
- the edge to reconnect
protected boolean checkReconnectTarget(GraphNode target, GraphEdge edge)
target
- the target of the edgeedge
- the edge to reconnect
protected org.eclipse.gef.commands.Command getReconnectSourceCommand(org.eclipse.gef.requests.ReconnectRequest request)
GraphicalNodeEditPolicy.getReconnectSourceCommand(org.eclipse.gef.requests.ReconnectRequest)
protected org.eclipse.gef.commands.Command getReconnectTargetCommand(org.eclipse.gef.requests.ReconnectRequest request)
GraphicalNodeEditPolicy.getReconnectTargetCommand(org.eclipse.gef.requests.ReconnectRequest)
protected org.eclipse.gef.editpolicies.FeedbackHelper getFeedbackHelper(org.eclipse.gef.requests.CreateConnectionRequest request)
GraphicalNodeEditPolicy.getFeedbackHelper(org.eclipse.gef.requests.CreateConnectionRequest)
|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.