Class GenericFeatureCommandWithContext

    • Constructor Detail

      • GenericFeatureCommandWithContext

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

      • canExecute

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

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