| Interface | Description |
|---|---|
| KeyStrokeContext |
A KeyStrokeContext describes the keystrokes/command mappings available for a
component.
|
| KeyStrokesConstraint |
Defines what key can be used as a shortcut.
|
| Class | Description |
|---|---|
| AcceleratorDefinitions |
AcceleratorDefinitions represent the list of accelerator definitions
that have been registered via the extension manifests |
| AcceleratorHook | |
| DefaultKeyStrokeContext |
This class implements the most common behavior of a KeyStrokeContext.
|
| DialogWatcher |
This class ensures that user defined accelerators for cut, copy and paste also work in the text components of
dialogs.
|
| GrabbableFocusManager |
This FocusManager allows to 'steal' keys on demand.
|
| IdeInputMapUIResource | |
| KeyboardDockable | |
| KeyPresetConfigPanel |
A IDE Settings that controls the shortcut presets
|
| KeyStroke2String |
This is a custom String converter class that meets the
static interface requirements as defined by |
| KeyStrokeArb | |
| KeyStrokeArb_de | |
| KeyStrokeArb_en | |
| KeyStrokeArb_es | |
| KeyStrokeArb_fr | |
| KeyStrokeArb_it | |
| KeyStrokeArb_ja | |
| KeyStrokeArb_ko | |
| KeyStrokeArb_pt_BR | |
| KeyStrokeArb_zh_CN | |
| KeyStrokeArb_zh_TW | |
| KeyStrokeContextRegistry |
The KeyStrokeContextRegistry is a collection of KeyStrokeContext.
|
| KeyStrokeField |
A kind of text field that captures key strokes (equivalent to the windows's
hot key control).
|
| KeyStrokeFilter |
This class controls the keyup/keydown events to determine what can be used
as an accelerator.
|
| KeyStrokeMap |
The KeyStrokeMap maps Keystrokes to action binding objects.
KeyStrokeMap does not extend a real Map but implements most of the Map methods. |
| KeyStrokeOptions |
This class stores the KeyStrokeMap for one global context and multiple local
contexts.
|
| KeyStrokePanel |
This panel edits shortcuts in one context.
|
| KeyStrokes |
Stores a multi-KeyStroke.
|
| KeyStrokesConfigUI | Deprecated
since 11.0 with no replacement.
|
| KeyStrokesConstraintFactory |
KeyStrokesConstraintFactory is a factory of KeyStrokeConstraint.
Since I only expect two KeyStrokeConstraint, this factory builds them. |
| KeyUtil |
Some generic methods related to KeyEvents and KeyStrokes.
|
| MultiInputMap |
An InputMap that can handle multiple keys like Ctrl+K, S
|
| MultiMapAdapter |
This class contains some utilities for the keyboard mapping.
|
| PresetsPanel | |
| XMLKeyStrokeContext |
This class should only be used if your addin is part of the product.
|
| XMLKeystrokeContextDefs |
<context scope="global">
<preset name="Default">
<map action="HELLO">
<accel>control alt shift H</accel>
</map>
</preset>
<preset name="Emacs">
<map action="HELLO">>
<accel>control alt shift H</accel>
<accel>X</accel>
</map>
</preset>
</context>
Register this accelerator file:
final KeyStrokeContextRegistry keyStrokeContextRegistry = Ide.getKeyStrokeContextRegistry();
keyStrokeContextRegistry.addAcceleratorDefinitionFile(
getClass().getClassLoader(),
"acceleratorsample/accelerators.xml"
);