Class NaturalKey

java.lang.Object
org.eclipse.ui.keys.Key
org.eclipse.ui.keys.NaturalKey
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
CharacterKey, SpecialKey

@Deprecated(forRemoval=true, since="2024-03") public abstract class NaturalKey extends Key
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 NaturalKey represent all keys on the keyboard not known by convention as 'modifier keys'. These can either be keys that belong to a natural language of some kind(e.g., "A", "1"), any Unicode character (e.g., "backspace"), or they can be special controls keys used by computers (e.g., "F10", "PageUp").

NaturalKey objects are immutable. Clients are not permitted to extend this class.

Since:
3.0
Restriction:
This class is not intended to be subclassed by clients.