Class MoveShapeFeatureCommandWithContext

All Implemented Interfaces:
IContextHolder, IFeatureAndContext, IFeatureHolder, IFeatureProviderHolder, IDescription, ICommand, IReadOnlyProvider

public class MoveShapeFeatureCommandWithContext extends FeatureCommandWithContext
The Class MoveShapeFeatureCommandWithContext.
  • Constructor Details

    • MoveShapeFeatureCommandWithContext

      public MoveShapeFeatureCommandWithContext(IFeature feature, IMoveShapeContext context)
      The Constructor.
      Parameters:
      feature - the feature
      context - the context
  • Method Details

    • canExecute

      public boolean canExecute()
      Description copied from interface: ICommand
      Can execute.
      Returns:
      true, if successful
    • execute

      public final boolean execute()
      Description copied from interface: ICommand
      Execute.
      Returns:
      true, if successful
    • getMoveShapeFeature

      protected IMoveShapeFeature getMoveShapeFeature()
      Gets the move shape feature.
      Returns:
      the move shape feature