# Uses of Class
org.eclipse.ui.keys.KeySequence

Packages that use KeySequence
Package
Description
org.eclipse.ui.keys
Provides support for integrating keys into the Eclipse workbench.

## Uses of KeySequence in org.eclipse.ui.keys

Methods in org.eclipse.ui.keys that return KeySequence
Modifier and Type
Method
Description
`static KeySequence`
KeySequence.`getInstance()`
Deprecated, for removal: This API element is subject to removal in a future version.
Gets an instance of `KeySequence`.
`static KeySequence`
KeySequence.`getInstance(String string)`
Deprecated, for removal: This API element is subject to removal in a future version.
Gets an instance of `KeySequence` by parsing a given a formal string representation.
`static KeySequence`
KeySequence.`getInstance(List keyStrokes)`
Deprecated, for removal: This API element is subject to removal in a future version.
Gets an instance of `KeySequence` given a list of key strokes.
`static KeySequence`
KeySequence.`getInstance(KeySequence newKeySequence)`
Deprecated, for removal: This API element is subject to removal in a future version.
Gets an instance of `KeySequence` given a new-style key sequence.
`static KeySequence`
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.
`static KeySequence`
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.
`static KeySequence`
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.
Methods in org.eclipse.ui.keys with parameters of type KeySequence
Modifier and Type
Method
Description
`boolean`
KeySequence.`endsWith(KeySequence keySequence, boolean equals)`
Deprecated, for removal: This API element is subject to removal in a future version.
Returns whether or not this key sequence ends with the given key sequence.
`String`
IKeyFormatter.`format(KeySequence keySequence)`
Deprecated, for removal: This API element is subject to removal in a future version.
Format the given key sequence into a string.
`static KeySequence`
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.
`boolean`
KeySequence.`startsWith(KeySequence keySequence, boolean equals)`
Deprecated, for removal: This API element is subject to removal in a future version.
Returns whether or not this key sequence starts with the given key sequence.