public class AcceleratorCommander extends Commander
MENU_DEFINITION_RESOURCE| Modifier | Constructor and Description |
|---|---|
protected |
AcceleratorCommander(AcceleratorApplication application)
Inherit from Commander
|
protected |
AcceleratorCommander(Commander appCommander,
XalDocument document)
Creates a new instance of AcceleratorCommander
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadDefaultBundle()
Load the default bundle
Override the super class version to include the accelerator specific additions.
|
protected void |
registerCustomCommands(XalDocument document)
This method overrides the inherited method to add the accelerator handler
which dynamically generates the Accelerator menu items.
|
getAction, getActionKey, getIcon, getItemsAfter, getItemsBefore, getLabel, getMenubar, getModel, getState, getToolbar, loadBundle, loadCustomBundle, loadCustomBundle, loadCustomBundle, loadCustomDocumentBundle, registerAction, registerAction, registerCommands, registerCommands, registerCommands, registerCustomCommands, registerCustomCommands, registerDesktopCommands, registerMenuHandler, registerModel, registerTextCommandsprotected AcceleratorCommander(Commander appCommander, XalDocument document)
protected AcceleratorCommander(AcceleratorApplication application)
protected void loadDefaultBundle()
loadDefaultBundle in class Commanderprotected void registerCustomCommands(XalDocument document)
registerCustomCommands in class Commanderdocument - The document for which some commands may need to be associatedXalAbstractDocument.customizeCommands(xal.extension.application.Commander),
XalWindow.customizeCommands(xal.extension.application.Commander),
AbstractApplicationAdaptor.customizeCommands(xal.extension.application.Commander)