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