Uses of Class
org.eclipse.jface.bindings.keys.KeyStroke
-
Packages that use KeyStroke Package Description org.eclipse.jface.bindings.keys Provides support for bindings between commands and keys.org.eclipse.jface.bindings.keys.formatting Provides support for formatting key sequences.org.eclipse.jface.fieldassist Provides classes that help communicate proper content for fields in dialogs and wizards. -
-
Uses of KeyStroke in org.eclipse.jface.bindings.keys
Methods in org.eclipse.jface.bindings.keys that return KeyStroke Modifier and Type Method Description static KeyStroke
SWTKeySupport. convertAcceleratorToKeyStroke(int accelerator)
Given an SWT accelerator value, provide the corresponding key stroke.static KeyStroke
KeyStroke. getInstance(int naturalKey)
Creates an instance ofKeyStroke
given a natural key.static KeyStroke
KeyStroke. getInstance(int modifierKeys, int naturalKey)
Creates an instance ofKeyStroke
given a set of modifier keys and a natural key.static KeyStroke
KeyStroke. getInstance(String string)
Creates an instance ofKeyStroke
by parsing a given a formal string representation.KeyStroke[]
KeySequence. getKeyStrokes()
Returns the list of key strokes for this key sequence.Methods in org.eclipse.jface.bindings.keys with parameters of type KeyStroke Modifier and Type Method Description static int
SWTKeySupport. convertKeyStrokeToAccelerator(KeyStroke keyStroke)
Given a key stroke, this method provides the equivalent SWT accelerator value.static KeySequence
KeySequence. getInstance(KeySequence keySequence, KeyStroke keyStroke)
Creates an instance ofKeySequence
given a key sequence and a key stroke.static KeySequence
KeySequence. getInstance(KeyStroke keyStroke)
Creates an instance ofKeySequence
given a single key stroke.static KeySequence
KeySequence. getInstance(KeyStroke[] keyStrokes)
Creates an instance ofKeySequence
given an array of key strokes.void
KeySequenceText. insert(KeyStroke stroke)
Inserts the key stroke at the current insertion point.Method parameters in org.eclipse.jface.bindings.keys with type arguments of type KeyStroke Modifier and Type Method Description static KeySequence
KeySequence. getInstance(List<KeyStroke> keyStrokes)
Creates an instance ofKeySequence
given a list of key strokes.Constructors in org.eclipse.jface.bindings.keys with parameters of type KeyStroke Constructor Description KeySequence(KeyStroke[] keyStrokes)
Constructs an instance ofKeySequence
given a list of key strokes. -
Uses of KeyStroke in org.eclipse.jface.bindings.keys.formatting
Methods in org.eclipse.jface.bindings.keys.formatting with parameters of type KeyStroke Modifier and Type Method Description String
AbstractKeyFormatter. format(KeyStroke keyStroke)
String
IKeyFormatter. format(KeyStroke keyStroke)
Format the given key strokes into a string. -
Uses of KeyStroke in org.eclipse.jface.fieldassist
Constructors in org.eclipse.jface.fieldassist with parameters of type KeyStroke Constructor Description ContentProposalAdapter(Control control, IControlContentAdapter controlContentAdapter, IContentProposalProvider proposalProvider, KeyStroke keyStroke)
Construct a content proposal adapter that can assist the user with choosing content for the field.ContentProposalAdapter(Control control, IControlContentAdapter controlContentAdapter, IContentProposalProvider proposalProvider, KeyStroke keyStroke, char[] autoActivationCharacters)
Construct a content proposal adapter that can assist the user with choosing content for the field.
-