|
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.classdiagram.commands.update.InstanceSpecificationUpdateCommand
public class InstanceSpecificationUpdateCommand
Class that create a command in order to update operation parameters
creation : 12 mai 2005
Constructor Summary | |
---|---|
InstanceSpecificationUpdateCommand(org.eclipse.uml2.uml.InstanceSpecification inst,
java.lang.String instName,
org.eclipse.uml2.uml.Class c,
InstanceSpecificationDataStructure data)
Deprecated. Slots should be updated through the properties view. |
Method Summary | |
---|---|
void |
execute()
Get the old values and set the new ones |
protected void |
getOldValues()
Get the old values |
void |
redo()
Set the new values |
protected void |
setValues()
Set the values on the Operation |
protected void |
switchValues()
Switch the old and new values |
void |
undo()
Set the old values |
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 InstanceSpecificationUpdateCommand(org.eclipse.uml2.uml.InstanceSpecification inst, java.lang.String instName, org.eclipse.uml2.uml.Class c, InstanceSpecificationDataStructure data)
inst
- the current instance specification objectinstName
- the name of the instancec
- the class to instanciatedata
- the new dataMethod Detail |
---|
protected void getOldValues()
protected void setValues()
protected void switchValues()
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.