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, registerTextCommands
protected AcceleratorCommander(Commander appCommander, XalDocument document)
protected AcceleratorCommander(AcceleratorApplication application)
protected void loadDefaultBundle()
loadDefaultBundle
in class Commander
protected void registerCustomCommands(XalDocument document)
registerCustomCommands
in class Commander
document
- 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)