Class FeatureCommandWithContext

    • Constructor Detail

      • FeatureCommandWithContext

        protected FeatureCommandWithContext​(IFeature feature,
                                            IContext context)
        The Constructor.
        Parameters:
        context - the context
        feature - the feature
    • Method Detail

      • canUndo

        public boolean canUndo()
        Description copied from interface: ICommand
        Can undo.
        Specified by:
        canUndo in interface ICommand
        Returns:
        true, if successful
      • undo

        public boolean undo()
        Description copied from interface: ICommand
        Undo.
        Specified by:
        undo in interface ICommand
        Returns:
        true, if successful