|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.gef.commands.Command uk.ac.kcl.cch.jb.pliny.commands.LinkableObjectNameUpdateCommand
changes the name of a Resource
linked as the
surrogate to the given LinkableObject
.
Constructor Summary | |
LinkableObjectNameUpdateCommand(LinkableObject obj,
String newName)
creates instance of this command that will change the name of the surrogate resource to obj 's to newName . |
Method Summary | |
void |
execute()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinkableObjectNameUpdateCommand(LinkableObject obj, String newName)
obj
's to newName
.
obj
- LinkableObject who's surrogate is to be renamed.newName
- replacement name.Method Detail |
public void execute()
public void undo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |