Class ExternalActionManager.CommandCallback

java.lang.Object
org.eclipse.jface.action.ExternalActionManager.CommandCallback
All Implemented Interfaces:
ExternalActionManager.IBindingManagerCallback, ExternalActionManager.ICallback, ExternalActionManager.IExecuteCallback, IBindingManagerListener
Enclosing class:
ExternalActionManager

public static class ExternalActionManager.CommandCallback extends Object implements IBindingManagerListener, ExternalActionManager.IBindingManagerCallback, ExternalActionManager.IExecuteCallback
A simple implementation of the ICallback mechanism that simply takes a BindingManager and a CommandManager.

Note: this class is not intended to be subclassed by clients.

Since:
3.1
  • Constructor Details

    • CommandCallback

      public CommandCallback(BindingManager bindingManager, CommandManager commandManager)
      Constructs a new instance of CommandCallback with the workbench it should be using. All commands will be considered active.
      Parameters:
      bindingManager - The binding manager which will provide the callback; must not be null.
      commandManager - The command manager which will provide the callback; must not be null.
      Since:
      3.1
    • CommandCallback

      public CommandCallback(BindingManager bindingManager, CommandManager commandManager, ExternalActionManager.IActiveChecker activeChecker)
      Constructs a new instance of CommandCallback with the workbench it should be using.
      Parameters:
      bindingManager - The binding manager which will provide the callback; must not be null.
      commandManager - The command manager which will provide the callback; must not be null.
      activeChecker - The callback mechanism for checking whether a command is active; must not be null.
      Since:
      3.1
    • CommandCallback

      public CommandCallback(BindingManager bindingManager, CommandManager commandManager, ExternalActionManager.IActiveChecker activeChecker, ExternalActionManager.IExecuteApplicable checker)
      Constructs a new instance of CommandCallback with the workbench it should be using.
      Parameters:
      bindingManager - The binding manager which will provide the callback; must not be null.
      commandManager - The command manager which will provide the callback; must not be null.
      activeChecker - The callback mechanism for checking whether a command is active; must not be null.
      checker - The callback to check if an IAction should fire execution events.
      Since:
      3.4
  • Method Details