Package org.csstudio.opibuilder.commands
Class WidgetSetConstraintCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.commands.WidgetSetConstraintCommand
public class WidgetSetConstraintCommand
extends org.eclipse.gef.commands.Command
The command to support move/resize.
-
Constructor Summary
ConstructorDescriptionWidgetSetConstraintCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.ChangeBoundsRequest req, org.eclipse.draw2d.geometry.Rectangle newBounds) -
Method Summary
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canRedo, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel
-
Constructor Details
-
WidgetSetConstraintCommand
public WidgetSetConstraintCommand(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.ChangeBoundsRequest req, org.eclipse.draw2d.geometry.Rectangle newBounds)
-
-
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
-