Class ExternalActionManager.CommandCallback

    • Constructor Detail

      • 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