Package org.eclipse.jface.bindings.keys
Class KeyLookupFactory
java.lang.Object
org.eclipse.jface.bindings.keys.KeyLookupFactory
A factory class for ILookup instances. This factory can be
used to retrieve instances of look-ups defined by this package. It also
allows you to define your own look-up for use in the classes.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic final IKeyLookupAn accessor for the current default look-up.static final IKeyLookupProvides an instance ofSWTKeyLookup.static final voidsetDefault(IKeyLookup defaultLookup) Sets the default look-up.
-
Method Details
-
getSWTKeyLookup
Provides an instance ofSWTKeyLookup.- Returns:
- The SWT look-up table for key stroke format information; never
null.
-
getDefault
An accessor for the current default look-up.- Returns:
- The default look-up; never
null.
-
setDefault
Sets the default look-up.- Parameters:
defaultLookup- the default look-up. Must not benull.
-