Class AbstractEvaluationHandler

All Implemented Interfaces:
IHandler, IHandler2
Direct Known Subclasses:
ActivateEditorHandler, CloseAllHandler, CloseOthersHandler, ShowPartPaneMenuHandler, ShowViewMenuHandler

public abstract class AbstractEvaluationHandler extends AbstractEnabledHandler
This internal class serves as a foundation for any handler that would like its enabled state controlled by core expressions and the IEvaluationService.
Since:
3.3
  • Constructor Details

    • AbstractEvaluationHandler

      public AbstractEvaluationHandler()
  • Method Details

    • getEvaluationService

      protected IEvaluationService getEvaluationService()
    • registerEnablement

      protected void registerEnablement()
    • getEnabledWhenExpression

      protected abstract Expression getEnabledWhenExpression()
    • dispose

      public void dispose()
      Description copied from class: AbstractHandler
      The default implementation does nothing. Subclasses who attach listeners to other objects are encouraged to detach them in this method.
      Specified by:
      dispose in interface IHandler
      Overrides:
      dispose in class AbstractHandler