|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
org.eclipse.gmt.umlx.editor.command.AbstractCommand
org.eclipse.gmt.umlx.editor.commands.ChangeParentCommand
public class ChangeParentCommand
Nested Class Summary | |
---|---|
static class |
ChangeParentCommand.ChildContext<C extends org.eclipse.emf.common.notify.Notifier,P>
|
Constructor Summary | |
---|---|
ChangeParentCommand(java.lang.String label,
java.util.List<? extends org.eclipse.emf.common.notify.Notifier> children,
org.eclipse.emf.common.notify.Notifier newParent)
|
Method Summary | |
---|---|
boolean |
canExecute()
|
void |
doRedo()
(re)-execute the command. |
void |
doUndo()
un-execute the command. |
Methods inherited from class org.eclipse.gmt.umlx.editor.command.AbstractCommand |
---|
addSelectedObjects, canUndo, couldNotUnlock, diagnoseCannotExecute, dispose, execute, getCommand, prepare, prepare, redo, requestModification, toString, undo |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
chain, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.gmt.umlx.editor.command.IAbstractCommand |
---|
getLabel |
Constructor Detail |
---|
public ChangeParentCommand(java.lang.String label, java.util.List<? extends org.eclipse.emf.common.notify.Notifier> children, org.eclipse.emf.common.notify.Notifier newParent)
Method Detail |
---|
public boolean canExecute()
canExecute
in interface IAbstractCommand
canExecute
in class AbstractCommand
public void doRedo()
AbstractCommand
public void doUndo()
AbstractCommand
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |