|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.common.HandleObject
org.eclipse.core.commands.common.NamedHandleObject
public abstract class NamedHandleObject
A handle object that carries with it a name and a description. This type of
handle object is quite common across the commands code base. For example,
Command
, Context
and Scheme
.
Field Summary | |
---|---|
protected java.lang.String |
description
The description for this handle. |
protected java.lang.String |
name
The name of this handle. |
Fields inherited from class org.eclipse.core.commands.common.HandleObject |
---|
defined, id, string |
Constructor Summary | |
---|---|
protected |
NamedHandleObject(java.lang.String id)
Constructs a new instance of NamedHandleObject . |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description for this handle. |
java.lang.String |
getName()
Returns the name for this handle. |
Methods inherited from class org.eclipse.core.commands.common.HandleObject |
---|
equals, getId, hashCode, isDefined, toString, undefine |
Methods inherited from class org.eclipse.core.commands.common.EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected 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.
Constructor Detail |
---|
protected NamedHandleObject(java.lang.String id)
NamedHandleObject
.
id
- The identifier for this handle; must not be null
.Method Detail |
---|
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.
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.