public abstract class NamedHandleObject extends HandleObject
Command, Context and Scheme.| Modifier and Type | Field and Description |
|---|---|
protected String |
description
The description for this handle.
|
protected String |
name
The name of this handle.
|
defined, id, string| Modifier | Constructor and Description |
|---|---|
protected |
NamedHandleObject(String id)
Constructs a new instance of
NamedHandleObject. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description for this handle.
|
String |
getName()
Returns the name for this handle.
|
equals, getId, hashCode, isDefined, toString, undefineaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectprotected String description
null if
the handle is undefined or has no description.protected String name
null
unless the handle is undefined.protected NamedHandleObject(String id)
NamedHandleObject.id - The identifier for this handle; must not be null.public String getDescription() throws NotDefinedException
null if there is no
description.NotDefinedException - If the handle is not currently defined.public String getName() throws NotDefinedException
null.NotDefinedException - If the handle is not currently defined.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.