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 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 class org.eclipse.gef.commands.Command
    • redo

      public void redo()
      Overrides:
      redo in class org.eclipse.gef.commands.Command
    • undo

      public void undo()
      Overrides:
      undo in class org.eclipse.gef.commands.Command