Method Summary |
|
void | addCommandManagerListener(ICommandManagerListener commandManagerListener) Registers an instance of ICommandManagerListener to listen
for changes to attributes of this instance.
Parameters: commandManagerListener - the instance of ICommandManagerListener toregister. |
Set | getActiveContextIds() Returns the set of identifiers to active contexts.
Notification is sent to all registered listeners if this property
changes.
the set of identifiers to active contexts. |
String | getActiveKeyConfigurationId() Returns the active key configuration.
Notification is sent to all registered listeners if this property
changes.
the active key configuration identifier. |
String | getActiveLocale() Returns the active locale. |
String | getActivePlatform() Returns the active platform. |
ICategory | getCategory(String categoryId) Returns a handle to a category given an identifier.
Parameters: categoryId - an identifier. |
ICommand | getCommand(String commandId) Returns a handle to a command given an identifier.
Parameters: commandId - an identifier. |
Set | getDefinedCategoryIds()
Returns the set of identifiers to defined categories.
Notification is sent to all registered listeners if this attribute
changes.
the set of identifiers to defined categories. |
Set | getDefinedCommandIds()
Returns the set of identifiers to defined commands.
Notification is sent to all registered listeners if this attribute
changes.
the set of identifiers to defined commands. |
Set | getDefinedKeyConfigurationIds()
Returns the set of identifiers to defined key configurations.
Notification is sent to all registered listeners if this attribute
changes.
the set of identifiers to defined key configurations. |
IKeyConfiguration | getKeyConfiguration(String keyConfigurationId) Returns a handle to a key configuration given an identifier.
Parameters: keyConfigurationId - an identifier. |
Map | getPartialMatches(KeySequence keySequence) Finds all of the commands which have key bindings that start with the
given key sequence.
Parameters: keySequence - The prefix to look for; must not be null . |
String | getPerfectMatch(KeySequence keySequence) Finds the command which has the given key sequence as one of its key
bindings.
Parameters: keySequence - The key binding to look for; must not be null . |
boolean | isPartialMatch(KeySequence keySequence) Checks to see whether there are any commands which have key bindings that
start with the given key sequence.
Parameters: keySequence - The prefix to look for; must not be null . |
boolean | isPerfectMatch(KeySequence keySequence) Checks to see if there is a command with the given key sequence as one of
its key bindings.
Parameters: keySequence - The key binding to look for; must not be null . |
void | removeCommandManagerListener(ICommandManagerListener commandManagerListener) Unregisters an instance of ICommandManagerListener
listening for changes to attributes of this instance.
Parameters: commandManagerListener - the instance of ICommandManagerListener tounregister. |