Class DefaultMoveShapeFeature

All Implemented Interfaces:
IFeature, IFeatureProviderHolder, IMoveFeature, IMoveShapeFeature, IMoveShape, IDescription, IName

public class DefaultMoveShapeFeature extends AbstractMoveShapeFeature
The Class DefaultMoveShapeFeature.
  • Constructor Details

  • Method Details

    • avoidNegativeCoordinates

      protected boolean avoidNegativeCoordinates()
      Sublasses can override this method.
      Returns:
      true if moving to negative coordinates should not be possible
    • canMoveShape

      public boolean canMoveShape(IMoveShapeContext context)
      Description copied from interface: IMoveShape
      Can move shape.
      Parameters:
      context - the context
      Returns:
      true, if successful
    • moveShape

      public void moveShape(IMoveShapeContext context)
      Description copied from interface: IMoveShape
      Move shape.
      Parameters:
      context - the context
    • moveAllBendpoints

      protected void moveAllBendpoints(IMoveShapeContext context)
      Move all bendpoints. Move bendpoints within a container shape.
      Parameters:
      context - the context
    • postMoveShape

      protected void postMoveShape(IMoveShapeContext context)
      Post move shape.
      Parameters:
      context - the context
    • preMoveShape

      protected void preMoveShape(IMoveShapeContext context)
      Pre move shape.
      Parameters:
      context - the context
    • internalMove

      protected void internalMove(IMoveShapeContext context)
      Internal move.
      Parameters:
      context - the context