01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.keys;
11:
12: /**
13: * </p>
14: * Instances of <code>NaturalKey</code> represent all keys on the keyboard not
15: * known by convention as 'modifier keys'. These can either be keys that belong
16: * to a natural language of some kind(e.g., "A", "1"), any Unicode character
17: * (e.g., "backspace"), or they can be special controls keys used by computers
18: * (e.g., "F10", "PageUp").
19: * </p>
20: * <p>
21: * <code>NaturalKey</code> objects are immutable. Clients are not permitted to
22: * extend this class.
23: * </p>
24: *
25: * @deprecated Please use org.eclipse.jface.bindings.keys.KeyStroke and
26: * org.eclipse.jface.bindings.keys.KeyLookupFactory
27: * @since 3.0
28: */
29: public abstract class NaturalKey extends Key {
30:
31: /**
32: * Constructs an instance of <code>NaturalKey</code> given a name.
33: *
34: * @param key
35: * The key to be wrapped.
36: */
37: NaturalKey(final int key) {
38: super(key);
39: }
40: }
|