|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
org.topcased.modeler.uml.sequencediagram.commands.update.UpdateMessageSignatureCommand
public class UpdateMessageSignatureCommand
Command for updating the Signature associated with a Message Creation 14 juin 06
Constructor Summary | |
---|---|
UpdateMessageSignatureCommand(org.eclipse.uml2.uml.Message message,
org.eclipse.uml2.uml.NamedElement newSignature,
org.eclipse.gef.EditDomain domain)
Create a command for updating the Signature of a given Message |
Method Summary | |
---|---|
void |
execute()
Store the old Property associated with the represents property of the Lifeline and then make the redo |
void |
redo()
Update the message parameters |
void |
undo()
Undo the update |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateMessageSignatureCommand(org.eclipse.uml2.uml.Message message, org.eclipse.uml2.uml.NamedElement newSignature, org.eclipse.gef.EditDomain domain)
message
- the current message objectnewSignature
- the new namedElement that represents the signature of the messagedomain
- the edit domainMethod Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
Command.execute()
public void redo()
redo
in class org.eclipse.gef.commands.Command
Command.redo()
public void undo()
undo
in class org.eclipse.gef.commands.Command
Command.undo()
|
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.