Package org.eclipse.ui.keys
Class KeyFormatterFactory
java.lang.Object
org.eclipse.ui.keys.KeyFormatterFactory
Deprecated, for removal: This API element is subject to removal in a future version.
Please use org.eclipse.jface.bindings.keys.KeyFormatterFactory
A cache for formatters. It keeps a few instances of pre-defined instances of
IKeyFormatter available for use. It also allows the default
formatter to be changed.- Since:
- 3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic IKeyFormatterDeprecated, for removal: This API element is subject to removal in a future version.Provides an instance ofCompactKeyFormatter.static IKeyFormatterDeprecated, for removal: This API element is subject to removal in a future version.An accessor for the current default key formatter.static IKeyFormatterDeprecated, for removal: This API element is subject to removal in a future version.Provides an instance ofEmacsKeyFormatter.static IKeyFormatterDeprecated, for removal: This API element is subject to removal in a future version.Provides an instance ofFormalKeyFormatter.static voidsetDefault(IKeyFormatter defaultKeyFormatter) Deprecated, for removal: This API element is subject to removal in a future version.Sets the default key formatter.
-
Method Details
-
getCompactKeyFormatter
Deprecated, for removal: This API element is subject to removal in a future version.Provides an instance ofCompactKeyFormatter.- Returns:
- The compact formatter; never
null.
-
getDefault
Deprecated, for removal: This API element is subject to removal in a future version.An accessor for the current default key formatter.- Returns:
- The default formatter; never
null.
-
getEmacsKeyFormatter
Deprecated, for removal: This API element is subject to removal in a future version.Provides an instance ofEmacsKeyFormatter.- Returns:
- The Xemacs formatter; never
null.
-
getFormalKeyFormatter
Deprecated, for removal: This API element is subject to removal in a future version.Provides an instance ofFormalKeyFormatter.- Returns:
- The formal formatter; never
null.
-
setDefault
Deprecated, for removal: This API element is subject to removal in a future version.Sets the default key formatter.- Parameters:
defaultKeyFormatter- the default key formatter. Must not benull.
-