org.eclipse.ui.keys |
Package-level Javadoc
Provides support for integrating keys into the Eclipse workbench.
Package Specification
This package provides the classes required to integrate keys into the
Eclipse workbench.
To use the key integration, the method getAdapter is called on
the Eclipse workbench, with the argument IBindingService.class .
This will return an instance of IBindingService .
|
Java Source File Name | Type | Comment |
CharacterKey.java | Class |
Instances of CharacterKey represent keys on the keyboard which
represent unicode characters.
CharacterKey objects are immutable. |
IBindingService.java | Interface |
Provides services related to the binding architecture (e.g., keyboard
shortcuts) within the workbench. |
IKeyFormatter.java | Interface | Any formatter capable of taking key sequence or a key stroke and converting
it into a string. |
Key.java | Class |
Key is the abstract base class for all objects representing
keys on the keyboard.
All Key objects have a formal string representation, called
the 'name' of the key, available via the toString() method.
All Key objects, via the format() method,
provide a version of their formal string representation translated by
platform and locale, suitable for display to a user.
Key objects are immutable. |
KeyFormatterFactory.java | Class | A cache for formatters. |
KeySequence.java | Class |
A KeySequence is defined as a list of zero or more
KeyStrokes , with the stipulation that all
KeyStroke objects must be complete, save for the last one,
whose completeness is optional. |
KeyStroke.java | Class |
A KeyStroke is defined as an optional set of modifier keys
followed optionally by a natural key. |
ModifierKey.java | Class |
Instances of ModifierKey represent the four keys on the
keyboard recognized by convention as 'modifier keys', those keys typically
pressed in combination with themselves and/or a
org.eclipse.ui.keys.NaturalKey .
ModifierKey objects are immutable. |
NaturalKey.java | Class |
Instances of NaturalKey represent all keys on the keyboard not
known by convention as 'modifier keys'. |
ParseException.java | Class |
An exception indicating problems while parsing formal string representations
of either KeyStroke or KeySequence objects.
ParseException objects are immutable. |
SpecialKey.java | Class |
Instances of SpecialKey represent the keys on keyboard
recognized as neither modifier keys nor character keys. |
SWTKeySupport.java | Class | A utility class for converting SWT events into key strokes. |