Class mindmaps.CommandRegistry
Defined in: CommandRegistry.js.
Constructor Attributes | Constructor Name and Description |
---|---|
mindmaps.CommandRegistry(shortcutController)
Creates a new CommandRegistry.
|
Method Attributes | Method Name and Description |
---|---|
get(commandType)
Returns a command object for the given command type.
|
|
remove(commandType)
Removes the command object for the given command type.
|
Class Detail
mindmaps.CommandRegistry(shortcutController)
Creates a new CommandRegistry.
- Parameters:
- {mindmaps.ShortcutController} shortcutController Optional
Method Detail
{mindmaps.Command}
get(commandType)
Returns a command object for the given command type.
- Parameters:
- commandType
- Returns:
- {mindmaps.Command} a command object.
remove(commandType)
Removes the command object for the given command type.
- Parameters:
- commandType