Uses of Class
org.eclipse.jface.bindings.keys.KeyStroke
Packages that use KeyStroke
Package
Description
Provides support for bindings between commands and keys.
Provides support for formatting key sequences.
Provides classes that help communicate proper content for fields in dialogs and wizards.
-
Uses of KeyStroke in org.eclipse.e4.ui.bindings.keys
Methods in org.eclipse.e4.ui.bindings.keys that return types with arguments of type KeyStrokeModifier and TypeMethodDescriptionKeyBindingDispatcher.generatePossibleKeyStrokes
(Event event) Generates any key strokes that are near matches to the given event.Method parameters in org.eclipse.e4.ui.bindings.keys with type arguments of type KeyStroke -
Uses of KeyStroke in org.eclipse.jface.bindings.keys
Methods in org.eclipse.jface.bindings.keys that return KeyStrokeModifier and TypeMethodDescriptionstatic final KeyStroke
SWTKeySupport.convertAcceleratorToKeyStroke
(int accelerator) Given an SWT accelerator value, provide the corresponding key stroke.static final KeyStroke
KeyStroke.getInstance
(int naturalKey) Creates an instance ofKeyStroke
given a natural key.static final KeyStroke
KeyStroke.getInstance
(int modifierKeys, int naturalKey) Creates an instance ofKeyStroke
given a set of modifier keys and a natural key.static final KeyStroke
KeyStroke.getInstance
(String string) Creates an instance ofKeyStroke
by parsing a given a formal string representation.final KeyStroke[]
KeySequence.getKeyStrokes()
Returns the list of key strokes for this key sequence.Methods in org.eclipse.jface.bindings.keys with parameters of type KeyStrokeModifier and TypeMethodDescriptionstatic final int
SWTKeySupport.convertKeyStrokeToAccelerator
(KeyStroke keyStroke) Given a key stroke, this method provides the equivalent SWT accelerator value.static final KeySequence
KeySequence.getInstance
(KeySequence keySequence, KeyStroke keyStroke) Creates an instance ofKeySequence
given a key sequence and a key stroke.static final KeySequence
KeySequence.getInstance
(KeyStroke keyStroke) Creates an instance ofKeySequence
given a single key stroke.static final KeySequence
KeySequence.getInstance
(KeyStroke[] keyStrokes) Creates an instance ofKeySequence
given an array of key strokes.void
Inserts the key stroke at the current insertion point.Method parameters in org.eclipse.jface.bindings.keys with type arguments of type KeyStrokeModifier and TypeMethodDescriptionstatic final 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 KeyStrokeModifierConstructorDescriptionprotected
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 -
Uses of KeyStroke in org.eclipse.jface.fieldassist
Constructors in org.eclipse.jface.fieldassist with parameters of type KeyStrokeModifierConstructorDescriptionContentProposalAdapter
(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.