|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.progress.PendingUpdateAdapter
The PendingUpdateAdapter is a convenience object that can be used by a BaseWorkbenchContentProvider that wants to show a pending update.
Constructor Summary | |
---|---|
PendingUpdateAdapter()
Create a new instance of the receiver. |
Method Summary | |
---|---|
Object |
getAdapter(Class adapter)
Returns an object which is an instance of the given class associated with this object. |
Object[] |
getChildren(Object o)
Returns the children of this object. |
ImageDescriptor |
getImageDescriptor(Object object)
Returns an image descriptor to be used for displaying an object in the workbench. |
String |
getLabel(Object o)
Returns the label text for this element. |
Object |
getParent(Object o)
Returns the logical parent of the given object in its tree. |
protected boolean |
isRemoved()
Return whether or not this has been removed from the tree. |
protected void |
setRemoved(boolean removedValue)
Set whether or not this has been removed from the tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PendingUpdateAdapter()
Method Detail |
protected boolean isRemoved()
protected void setRemoved(boolean removedValue)
removedValue
- booleanpublic Object getAdapter(Class adapter)
IAdaptable
null
if
no such object can be found.
getAdapter
in interface IAdaptable
adapter
- the adapter class to look up
null
if this object does not
have an adapter for the given classpublic Object[] getChildren(Object o)
IWorkbenchAdapter
getChildren
in interface IWorkbenchAdapter
o
- The object to get the children for.
public ImageDescriptor getImageDescriptor(Object object)
IWorkbenchAdapter
null
if there is no appropriate image.
getImageDescriptor
in interface IWorkbenchAdapter
object
- The object to get an image descriptor for.
public String getLabel(Object o)
IWorkbenchAdapter
getLabel
in interface IWorkbenchAdapter
o
- The object to get a label for.
public Object getParent(Object o)
IWorkbenchAdapter
null
if there is no parent, or if this object doesn't
belong to a tree.
getParent
in interface IWorkbenchAdapter
o
- The object to get the parent for.
|
Eclipse Platform Release 3.3 |
|||||||||||
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, 2007. All rights reserved.