Class ChangePolyPointsCommand

java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.widgets.feedback.ChangePolyPointsCommand

public final class ChangePolyPointsCommand extends org.eclipse.gef.commands.Command
A command, that changes the point list of a poly widget.
  • Constructor Details

    • ChangePolyPointsCommand

      public ChangePolyPointsCommand(AbstractPolyModel polyModel, org.eclipse.draw2d.geometry.PointList newPoints)
      Constructor.
      Parameters:
      polyModel - the polyline element, whose points should be changed
      newPoints - the new point list
  • 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