Package org.csstudio.opibuilder.commands
Class ChangeOrientationCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.commands.ChangeOrientationCommand
public class ChangeOrientationCommand
extends org.eclipse.gef.commands.Command
Flip a widget horizontally.
-
Constructor Summary
ConstructorDescriptionChangeOrientationCommand
(AbstractWidgetModel widgetModel, ChangeOrientationAction.OrientationType orientationType) -
Method Summary
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canRedo, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
-
Constructor Details
-
ChangeOrientationCommand
public ChangeOrientationCommand(AbstractWidgetModel widgetModel, ChangeOrientationAction.OrientationType orientationType)
-
-
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
-