| /******************************************************************************* |
| * Copyright (c) 2000, 2003 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| ******************************************************************************/ |
| |
| package org.eclipse.ui.keys; |
| |
| /** |
| * </p> |
| * Instances of <code>NaturalKey</code> 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"). |
| * </p> |
| * <p> |
| * <code>NaturalKey</code> objects are immutable. Clients are not permitted to |
| * extend this class. |
| * </p> |
| * |
| * @since 3.0 |
| */ |
| public abstract class NaturalKey extends Key { |
| |
| /** |
| * Constructs an instance of <code>NaturalKey</code> given a name. |
| * |
| * @param name |
| * The name of the key, must not be null. |
| */ |
| NaturalKey(String name) { |
| super(name); |
| } |
| } |