| |
|
| java.lang.Object org.eclipse.ui.internal.commands.CommandManagerLegacyWrapper
CommandManagerLegacyWrapper | final public class CommandManagerLegacyWrapper implements ICommandManager,org.eclipse.core.commands.ICommandManagerListener,IBindingManagerListener,IContextManagerListener(Code) | | Provides support for the old ICommandManager interface.
since: 3.1 |
Field Summary | |
public static boolean | DEBUG_COMMAND_EXECUTION Whether commands should print out information about which handlers are
being executed. | public static boolean | DEBUG_HANDLERS Whether commands should print out information about handler changes. | public static String | DEBUG_HANDLERS_COMMAND_ID Which command should print out debugging information. |
Constructor Summary | |
public | CommandManagerLegacyWrapper(BindingManager bindingManager, CommandManager commandManager, ContextManager contextManager) Constructs a new instance of MutableCommandManager . |
DEBUG_COMMAND_EXECUTION | public static boolean DEBUG_COMMAND_EXECUTION(Code) | | Whether commands should print out information about which handlers are
being executed. Change this value if you want console output on command
execution.
|
DEBUG_HANDLERS | public static boolean DEBUG_HANDLERS(Code) | | Whether commands should print out information about handler changes.
Change this value if you want console output when commands change
handlers.
|
DEBUG_HANDLERS_COMMAND_ID | public static String DEBUG_HANDLERS_COMMAND_ID(Code) | | Which command should print out debugging information. Change this value
if you want to only here when a command with a particular identifier
changes its handler.
|
CommandManagerLegacyWrapper | public CommandManagerLegacyWrapper(BindingManager bindingManager, CommandManager commandManager, ContextManager contextManager)(Code) | | Constructs a new instance of MutableCommandManager . The
binding manager and command manager providing support for this manager
are constructed at this time.
Parameters: bindingManager - The binding manager providing support for the command manager;must not be null . Parameters: commandManager - The command manager providing support for this commandmanager; must not be null . Parameters: contextManager - The context manager to provide context support to thismanager. This value must not be null . |
bindingManagerChanged | final public void bindingManagerChanged(BindingManagerEvent event)(Code) | | |
commandManagerChanged | final public void commandManagerChanged(org.eclipse.core.commands.CommandManagerEvent event)(Code) | | |
contextManagerChanged | final public void contextManagerChanged(ContextManagerEvent event)(Code) | | |
getActiveContextIds | public Set getActiveContextIds()(Code) | | |
getActiveKeyConfigurationId | public String getActiveKeyConfigurationId()(Code) | | |
getDefinedCategoryIds | public Set getDefinedCategoryIds()(Code) | | |
getDefinedCommandIds | public Set getDefinedCommandIds()(Code) | | |
getDefinedKeyConfigurationIds | public Set getDefinedKeyConfigurationIds()(Code) | | |
setHandlersByCommandId | final public void setHandlersByCommandId(Map handlersByCommandId)(Code) | | Updates the handlers for a block of commands all at once.
Parameters: handlersByCommandId - The map of command identifier (String ) tohandler (IHandler ). |
|
|
|