Package org.csstudio.opibuilder.commands
Class OrphanChildCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.commands.OrphanChildCommand
public class OrphanChildCommand
extends org.eclipse.gef.commands.Command
Orphan a child from its parent.
-
Constructor Summary
ConstructorDescriptionOrphanChildCommand
(AbstractContainerModel parent, AbstractWidgetModel child) -
Method Summary
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canRedo, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
-
Constructor Details
-
OrphanChildCommand
-
-
Method Details
-
execute
public void execute()- Overrides:
execute
in classorg.eclipse.gef.commands.Command
-
undo
public void undo()- Overrides:
undo
in classorg.eclipse.gef.commands.Command
-