Package org.eclipse.jface.bindings.keys.formatting
Provides support for formatting key sequences.
Package Specification
This is a collection fo various formatters for key sequences. The formatters
are accessible through the KeyFormatterFactory
. To change how
keys are formatted in the user interface, call
KeyFormatterFactory.setDefault(IKeyFormatter)
. They provided
formatters are:
- FormalKeyFormatter
- Provides a formal grammar for reading and writing key sequences.
- NativeKeyFormatter
- Provide a native-looking, human-readable format for keys.
- CompactKeyFormatter
- A variation of the native formatter that provides a more compact representation.
- EmacsKeyFormatter
- An Xemacs-style formatter (e.g., C^x C^x).
-
Interface Summary Interface Description IKeyFormatter Any formatter capable of taking a key sequence or a key stroke and converting it into a string. -
Class Summary Class Description AbstractKeyFormatter An abstract implementation of a key formatter that provides a lot of common key formatting functionality.EmacsKeyFormatter A key formatter providing the Emacs-style accelerators using single letters to represent the modifier keys.FormalKeyFormatter Formats the keys in the internal key sequence grammar.KeyFormatterFactory A cache for formatters.NativeKeyFormatter Formats the key sequences and key strokes into the native human-readable format.