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.
|
Modifier and Type | Method and 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 of
KeyStroke given a natural key. |
static KeyStroke |
KeyStroke.getInstance(int modifierKeys,
int naturalKey)
Creates an instance of
KeyStroke given a set of modifier keys
and a natural key. |
static KeyStroke |
KeyStroke.getInstance(String string)
Creates an instance of
KeyStroke by parsing a given a formal
string representation. |
KeyStroke[] |
KeySequence.getKeyStrokes()
Returns the list of key strokes for this key sequence.
|
Modifier and Type | Method and 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 of
KeySequence given a key sequence
and a key stroke. |
static KeySequence |
KeySequence.getInstance(KeyStroke keyStroke)
Creates an instance of
KeySequence given a single key
stroke. |
static KeySequence |
KeySequence.getInstance(KeyStroke[] keyStrokes)
Creates an instance of
KeySequence given an array of key
strokes. |
void |
KeySequenceText.insert(KeyStroke stroke)
Inserts the key stroke at the current insertion point.
|
Constructor and Description |
---|
KeySequence(KeyStroke[] keyStrokes)
Constructs an instance of
KeySequence given a list of key
strokes. |
Modifier and Type | Method and Description |
---|---|
String |
IKeyFormatter.format(KeyStroke keyStroke)
Format the given key strokes into a string.
|
String |
AbstractKeyFormatter.format(KeyStroke keyStroke) |
Constructor and Description |
---|
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.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.