Uses of Class
org.eclipse.ui.keys.KeyStroke

Packages that use KeyStroke
Package
Description
Provides support for integrating keys into the Eclipse workbench.
  • Uses of KeyStroke in org.eclipse.ui.keys

    Methods in org.eclipse.ui.keys that return KeyStroke
    Modifier and Type
    Method
    Description
    static KeyStroke
    SWTKeySupport.convertAcceleratorToKeyStroke(int accelerator)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Given an SWT accelerator value, provide the corresponding key stroke.
    static KeyStroke
    KeyStroke.getInstance(String string)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeyStroke by parsing a given a formal string representation.
    static KeyStroke
    KeyStroke.getInstance(SortedSet modifierKeys, NaturalKey naturalKey)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeyStroke given a set of modifier keys and a natural key.
    static KeyStroke
    KeyStroke.getInstance(ModifierKey[] modifierKeys, NaturalKey naturalKey)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeyStroke given an array of modifier keys and a natural key.
    static KeyStroke
    KeyStroke.getInstance(ModifierKey modifierKey, NaturalKey naturalKey)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeyStroke given a single modifier key and a natural key.
    static KeyStroke
    KeyStroke.getInstance(NaturalKey naturalKey)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeyStroke given a natural key.
    Methods in org.eclipse.ui.keys with parameters of type KeyStroke
    Modifier and Type
    Method
    Description
    static int
    SWTKeySupport.convertKeyStrokeToAccelerator(KeyStroke keyStroke)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Given a key stroke, this method provides the equivalent SWT accelerator value.
    IKeyFormatter.format(KeyStroke keyStroke)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Format the given key strokes into a string.
    KeySequence.getInstance(KeySequence keySequence, KeyStroke keyStroke)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeySequence given a key sequence and a key stroke.
    KeySequence.getInstance(KeyStroke keyStroke)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeySequence given a single key stroke.
    KeySequence.getInstance(KeyStroke[] keyStrokes)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets an instance of KeySequence given an array of key strokes.