| |
|
| java.lang.Object org.eclipse.ui.examples.readmetool.AdaptableList
AdaptableList | public class AdaptableList implements IWorkbenchAdapter,IAdaptable(Code) | | A list of adaptable objects. This is a generic list that can
be used to display an arbitrary set of adaptable objects in the workbench.
Also implements the IWorkbenchAdapter interface for simple display
and navigation.
|
Constructor Summary | |
public | AdaptableList() Creates a new adaptable list with the given children. | public | AdaptableList(IAdaptable[] newChildren) Creates a new adaptable list with the given children. |
AdaptableList | public AdaptableList()(Code) | | Creates a new adaptable list with the given children.
|
AdaptableList | public AdaptableList(IAdaptable[] newChildren)(Code) | | Creates a new adaptable list with the given children.
|
add | public AdaptableList add(Iterator iterator)(Code) | | Adds all the adaptable objects in the given enumeration to this list.
Returns this list.
|
add | public AdaptableList add(IAdaptable adaptable)(Code) | | Adds the given adaptable object to this list.
Returns this list.
|
getChildren | public Object[] getChildren()(Code) | | Returns the elements in this list.
|
getImageDescriptor | public ImageDescriptor getImageDescriptor(Object object)(Code) | | |
remove | public void remove(IAdaptable adaptable)(Code) | | Removes the given adaptable object from this list.
|
size | public int size()(Code) | | Returns the number of items in the list
|
|
|
|