public class PendingUpdateAdapter extends Object implements IWorkbenchAdapter, IAdaptable
| Constructor and Description |
|---|
PendingUpdateAdapter()
Create a new instance of the receiver.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public PendingUpdateAdapter()
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 upnull if this object does not
have an adapter for the given classpublic Object[] getChildren(Object o)
IWorkbenchAdaptergetChildren 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)
IWorkbenchAdaptergetLabel 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.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.