|
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.MessageUpdateCommand
public class MessageUpdateCommand
Command to update the message parameters
| Constructor Summary | |
|---|---|
MessageUpdateCommand(org.eclipse.uml2.uml.Message msg,
org.eclipse.uml2.uml.NamedElement sig,
java.util.Collection values)
Constructor |
|
| Method Summary | |
|---|---|
void |
execute()
Get the old values and set the new ones |
protected void |
getOldValues()
Get the old values |
void |
redo()
Update the message parameters |
protected void |
setValues()
Set the values on the message |
protected void |
switchValues()
Switch the old and new values |
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 MessageUpdateCommand(org.eclipse.uml2.uml.Message msg,
org.eclipse.uml2.uml.NamedElement sig,
java.util.Collection values)
msg - the message to updatesig - the signaturevalues - the list of ValueSpecification| Method Detail |
|---|
public void execute()
execute in class org.eclipse.gef.commands.CommandCommand.execute()protected void getOldValues()
protected void switchValues()
protected void setValues()
public void redo()
redo in class org.eclipse.gef.commands.CommandCommand.redo()public void undo()
undo in class org.eclipse.gef.commands.CommandCommand.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.