Class ShowPartPaneMenuHandler

All Implemented Interfaces:
IHandler, IHandler2

public class ShowPartPaneMenuHandler extends AbstractEvaluationHandler
Show the menu on top of the icon in the view or editor label.

Replacement for ShowPartPaneMenuAction

  • Constructor Details

    • ShowPartPaneMenuHandler

      public ShowPartPaneMenuHandler()
  • Method Details

    • execute

      public Object execute(ExecutionEvent event)
      Description copied from interface: IHandler
      Executes with the map of parameter values by name.
      Parameters:
      event - An event containing all the information about the current state of the application; must not be null.
      Returns:
      the result of the execution. Reserved for future use, must be null.
    • getEnabledWhenExpression

      protected Expression getEnabledWhenExpression()
      Specified by:
      getEnabledWhenExpression in class AbstractEvaluationHandler