Package org.csstudio.opibuilder.commands
Class AddWidgetCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.commands.AddWidgetCommand
public class AddWidgetCommand
extends org.eclipse.gef.commands.Command
Add widget to container
-
Constructor Summary
ConstructorDescriptionAddWidgetCommand
(AbstractContainerModel containerModel, AbstractWidgetModel widget, org.eclipse.draw2d.geometry.Rectangle newBounds) -
Method Summary
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canRedo, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
-
Constructor Details
-
AddWidgetCommand
public AddWidgetCommand(AbstractContainerModel containerModel, AbstractWidgetModel widget, org.eclipse.draw2d.geometry.Rectangle newBounds)
-
-
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
-