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 KeyStrokeSWTKeySupport. convertAcceleratorToKeyStroke(int accelerator)Given an SWT accelerator value, provide the corresponding key stroke.static KeyStrokeKeyStroke. getInstance(int naturalKey)Creates an instance ofKeyStrokegiven a natural key.static KeyStrokeKeyStroke. getInstance(int modifierKeys, int naturalKey)Creates an instance ofKeyStrokegiven a set of modifier keys and a natural key.static KeyStrokeKeyStroke. getInstance(String string)Creates an instance ofKeyStrokeby 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 intSWTKeySupport. convertKeyStrokeToAccelerator(KeyStroke keyStroke)Given a key stroke, this method provides the equivalent SWT accelerator value.static KeySequenceKeySequence. getInstance(KeySequence keySequence, KeyStroke keyStroke)Creates an instance ofKeySequencegiven a key sequence and a key stroke.static KeySequenceKeySequence. getInstance(KeyStroke keyStroke)Creates an instance ofKeySequencegiven a single key stroke.static KeySequenceKeySequence. getInstance(KeyStroke[] keyStrokes)Creates an instance ofKeySequencegiven an array of key strokes.voidKeySequenceText. 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 KeySequenceKeySequence. getInstance(List<KeyStroke> keyStrokes)Creates an instance ofKeySequencegiven 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 ofKeySequencegiven 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 StringAbstractKeyFormatter. format(KeyStroke keyStroke)StringIKeyFormatter. 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.
-