Class ResizeShapeFeatureCommandWithContext

    • Constructor Detail

      • ResizeShapeFeatureCommandWithContext

        public ResizeShapeFeatureCommandWithContext​(IFeature feature,
                                                    IResizeShapeContext 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
      • getResizeShapeFeature

        protected IResizeShapeFeature getResizeShapeFeature()
        Gets the resize shape feature.
        Returns:
        the resize shape feature