Package org.eclipse.ui.keys
Class KeyFormatterFactory
- java.lang.Object
-
- org.eclipse.ui.keys.KeyFormatterFactory
-
@Deprecated public final class KeyFormatterFactory extends Object
Deprecated.Please use org.eclipse.jface.bindings.keys.KeyFormatterFactoryA cache for formatters. It keeps a few instances of pre-defined instances ofIKeyFormatteravailable for use. It also allows the default formatter to be changed.- Since:
- 3.0
- See Also:
IKeyFormatter
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IKeyFormattergetCompactKeyFormatter()Deprecated.Provides an instance ofCompactKeyFormatter.static IKeyFormattergetDefault()Deprecated.An accessor for the current default key formatter.static IKeyFormattergetEmacsKeyFormatter()Deprecated.Provides an instance ofEmacsKeyFormatter.static IKeyFormattergetFormalKeyFormatter()Deprecated.Provides an instance ofFormalKeyFormatter.static voidsetDefault(IKeyFormatter defaultKeyFormatter)Deprecated.Sets the default key formatter.
-
-
-
Method Detail
-
getCompactKeyFormatter
public static IKeyFormatter getCompactKeyFormatter()
Deprecated.Provides an instance ofCompactKeyFormatter.- Returns:
- The compact formatter; never
null.
-
getDefault
public static IKeyFormatter getDefault()
Deprecated.An accessor for the current default key formatter.- Returns:
- The default formatter; never
null.
-
getEmacsKeyFormatter
public static IKeyFormatter getEmacsKeyFormatter()
Deprecated.Provides an instance ofEmacsKeyFormatter.- Returns:
- The Xemacs formatter; never
null.
-
getFormalKeyFormatter
public static IKeyFormatter getFormalKeyFormatter()
Deprecated.Provides an instance ofFormalKeyFormatter.- Returns:
- The formal formatter; never
null.
-
setDefault
public static void setDefault(IKeyFormatter defaultKeyFormatter)
Deprecated.Sets the default key formatter.- Parameters:
defaultKeyFormatter- the default key formatter. Must not benull.
-
-