Class MoveShapeFeatureCommandWithContext

    • Constructor Detail

      • MoveShapeFeatureCommandWithContext

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

      • 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