|
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.ui.progress.PendingUpdateAdapter
public class 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)
IAdaptablenull if
no such object can be found.
getAdapter in interface IAdaptableadapter - 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 IWorkbenchAdaptero - The object to get the children for.
public ImageDescriptor getImageDescriptor(Object object)
IWorkbenchAdapternull if there is no appropriate image.
getImageDescriptor in interface IWorkbenchAdapterobject - The object to get an image descriptor for.
public String getLabel(Object o)
IWorkbenchAdapter
getLabel in interface IWorkbenchAdaptero - The object to get a label for.
public Object getParent(Object o)
IWorkbenchAdapternull if there is no parent, or if this object doesn't
belong to a tree.
getParent in interface IWorkbenchAdaptero - The object to get the parent for.
|
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.