Class MoveGuideCommand

java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.commands.MoveGuideCommand

public final class MoveGuideCommand extends org.eclipse.gef.commands.Command
A Command to move a Guide.
  • Constructor Details

    • MoveGuideCommand

      public MoveGuideCommand(GuideModel guide, int pDelta)
      Constructor.
      Parameters:
      guide - the guide, which position has changed
      pDelta - the distance
  • Method Details

    • execute

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

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