|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
pl.edu.agh.cast.command.LabelCommand
public class LabelCommand
Changes value of a single attribute of a given node. Used to change its label
(produced by NodeDirectEditPolicy
).
Constructor Summary | |
---|---|
LabelCommand(Node node,
java.lang.String attributeId,
java.lang.String newValue)
|
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 LabelCommand(Node node, java.lang.String attributeId, java.lang.String newValue)
Method Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |