# Package org.eclipse.jface.bindings.keys.formatting

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).

Related Packages
Package
Description
org.eclipse.jface.bindings.keys
Provides support for bindings between commands and keys.
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.
IKeyFormatter
Any formatter capable of taking a key sequence or a key stroke and converting it into a string.
KeyFormatterFactory
A cache for formatters.
NativeKeyFormatter
Formats the key sequences and key strokes into the native human-readable format.