Package org.eclipse.ui.keys
Class ModifierKey
java.lang.Object
org.eclipse.ui.keys.Key
org.eclipse.ui.keys.ModifierKey
- All Implemented Interfaces:
Comparable
Deprecated, for removal: This API element is subject to removal in a future version.
Please use org.eclipse.jface.bindings.keys.KeyStroke and
org.eclipse.jface.bindings.keys.KeyLookupFactory
Instances of ModifierKey
represent the four keys on the keyboard
recognized by convention as 'modifier keys', those keys typically pressed in
combination with themselves and/or a NaturalKey
.
ModifierKey
objects are immutable. Clients are not permitted to
extend this class.
- Since:
- 3.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ModifierKey
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Alt' key.static final ModifierKey
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Command' key.static final ModifierKey
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Ctrl' key.static final ModifierKey
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Shift' key. -
Method Summary
-
Field Details
-
ALT
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Alt' key. -
COMMAND
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Command' key. -
CTRL
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Ctrl' key. -
SHIFT
Deprecated, for removal: This API element is subject to removal in a future version.The single static instance ofModifierKey
which represents the 'Shift' key.
-