Class ErdMoveFigureOperation
- java.lang.Object
-
- com._1c.g5.v8.dt.diagram.framework.ui.operations.AbstractDiagramOperation
-
- com._1c.g5.v8.dt.diagram.framework.ui.operations.MoveFigureOperation
-
- com._1c.g5.v8.dt.erd.ui.editors.operations.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.
-
-
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
moveFigures(Collection<org.eclipse.draw2d.IFigure> figures, int dx, int dy)
-
Methods inherited from class com._1c.g5.v8.dt.diagram.framework.ui.operations.MoveFigureOperation
canExecute, canRedo, canUndo, execute, getLabel, redo, undo
-
-
-
-
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 benull
.startLocation
- - start location. Can't benull
.endLocation
- - end location. Can't benull
.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 classcom._1c.g5.v8.dt.diagram.framework.ui.operations.MoveFigureOperation
-
-