java.lang.Objectcom.ibm.jdg2e.simplemodel.adapters.LocationWorkbenchAdapter
Adapts ILocation to IWorkbenchAdapter, this is essential
when the object involved will be the focus of a Properties dialog. The getLabel
method is called to customize the title of the Properties dialog.
| Constructor Summary | |
|---|---|
LocationWorkbenchAdapter(ILocation location)
Constructor for implementation of IWorkbenchAdapter
to support display of this object in the Properties dialog. |
|
| Method Summary | |
|---|---|
java.lang.Object[] |
getChildren(java.lang.Object o)
|
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.Object object)
|
java.lang.String |
getLabel(java.lang.Object o)
Return name of location for use in Properties dialog. |
java.lang.Object |
getParent(java.lang.Object o)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocationWorkbenchAdapter(ILocation location)
IWorkbenchAdapter
to support display of this object in the Properties dialog.
location - - object of interest| Method Detail |
public java.lang.Object[] getChildren(java.lang.Object o)
getChildren in interface org.eclipse.ui.model.IWorkbenchAdapterpublic org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.Object object)
getImageDescriptor in interface org.eclipse.ui.model.IWorkbenchAdapterpublic java.lang.String getLabel(java.lang.Object o)
getLabel in interface org.eclipse.ui.model.IWorkbenchAdapterIWorkbenchAdapter.getLabel(java.lang.Object)public java.lang.Object getParent(java.lang.Object o)
getParent in interface org.eclipse.ui.model.IWorkbenchAdapter