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