Package org.csstudio.opibuilder.commands
Class WidgetDeleteCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.commands.WidgetDeleteCommand
public class WidgetDeleteCommand
extends org.eclipse.gef.commands.Command
The command to delete a widget.
-
Constructor Summary
ConstructorDescriptionWidgetDeleteCommand
(AbstractContainerModel container, AbstractWidgetModel widget) -
Method Summary
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canRedo, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel
-
Constructor Details
-
WidgetDeleteCommand
-
-
Method Details
-
execute
public void execute()- Overrides:
execute
in classorg.eclipse.gef.commands.Command
-
redo
public void redo()- Overrides:
redo
in classorg.eclipse.gef.commands.Command
-
undo
public void undo()- Overrides:
undo
in classorg.eclipse.gef.commands.Command
-