UML

org.topcased.modeler.uml.sequencediagram.commands.creation
Class SyncCallEdgeCreationCommand

java.lang.Object
  extended by CreateTypedEdgeCommand
      extended by org.topcased.modeler.uml.sequencediagram.commands.MessageEdgeCreationCommand
          extended by org.topcased.modeler.uml.sequencediagram.commands.creation.SyncCallEdgeCreationCommand

Deprecated. Stop using this command. Now the two messages are created separately with the MessageEdgeCreationCommand and the MessageAndExecutionCreationCommand

public class SyncCallEdgeCreationCommand
extends MessageEdgeCreationCommand

Command to create a synchronous call message


Constructor Summary
SyncCallEdgeCreationCommand(org.eclipse.gef.EditPartViewer v, GraphEdge newObj, GraphNode src)
          Deprecated. Contructor
 
Method Summary
 void execute()
          Deprecated. Create the return message command
 void redo()
          Deprecated. Create the complete message
 void setSelf(boolean self)
          Deprecated. Set if it's a self edge
 void undo()
          Deprecated. Remove the complete message
 
Methods inherited from class org.topcased.modeler.uml.sequencediagram.commands.MessageEdgeCreationCommand
getMessage, getSourceEditPart, getSourcePos, getSrcLifeline, getTargetEditPart, getTargetLifeline, getTargetPos, redoModel, setSourceEditPart, setSourcePos, setTargetEditPart, setTargetPos, undoModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncCallEdgeCreationCommand

public SyncCallEdgeCreationCommand(org.eclipse.gef.EditPartViewer v,
                                   GraphEdge newObj,
                                   GraphNode src)
Deprecated. 
Contructor

Parameters:
v - the editPart viewer
newObj - the graph edge of the new message
src - the source graph node
Method Detail

setSelf

public void setSelf(boolean self)
Deprecated. 
Set if it's a self edge

Parameters:
self - set it to true if it's a self edge

execute

public void execute()
Deprecated. 
Create the return message command

See Also:
Command.execute()

redo

public void redo()
Deprecated. 
Create the complete message

Overrides:
redo in class MessageEdgeCreationCommand
See Also:
Command.redo()

undo

public void undo()
Deprecated. 
Remove the complete message

Overrides:
undo in class MessageEdgeCreationCommand
See Also:
Command.undo()

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.