Class ErdMoveFigureOperation

  • All Implemented Interfaces:
    org.eclipse.core.commands.operations.IUndoableOperation
    Direct Known Subclasses:
    MovePathPointsOperation

    public class ErdMoveFigureOperation
    extends com._1c.g5.v8.dt.diagram.framework.ui.operations.MoveFigureOperation
    Instance of this class represents "Figure moved" operation.
    • Field Summary

      • Fields inherited from class com._1c.g5.v8.dt.diagram.framework.ui.operations.MoveFigureOperation

        figures
    • Constructor Summary

      Constructors 
      Constructor Description
      ErdMoveFigureOperation​(Collection<org.eclipse.draw2d.IFigure> figures, org.eclipse.draw2d.geometry.Point startLocation, org.eclipse.draw2d.geometry.Point endLocation, boolean isExecuted)
      Constructor.
    • Constructor Detail

      • ErdMoveFigureOperation

        public ErdMoveFigureOperation​(Collection<org.eclipse.draw2d.IFigure> figures,
                                      org.eclipse.draw2d.geometry.Point startLocation,
                                      org.eclipse.draw2d.geometry.Point endLocation,
                                      boolean isExecuted)
        Constructor.
        Parameters:
        figures - - moved figures. Can't be null.
        startLocation - - start location. Can't be null.
        endLocation - - end location. Can't be null.
        isExecuted - - true if operation already executed.
    • Method Detail

      • moveFigures

        protected void moveFigures​(Collection<org.eclipse.draw2d.IFigure> figures,
                                   int dx,
                                   int dy)
        Overrides:
        moveFigures in class com._1c.g5.v8.dt.diagram.framework.ui.operations.MoveFigureOperation