org.eclipse.jpt.ui.jface
Interface TreeItemContentProvider

All Superinterfaces:
ItemContentProvider

public interface TreeItemContentProvider
extends ItemContentProvider

Interface used in conjunction with DelegatingTreeContentProvider to return tree information for a particular item.

See Also:
DelegatingTreeContentProvider, Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Method Summary
 java.lang.Object[] getChildren()
          Return the children of the represented item
 java.lang.Object getParent()
          Return the parent of the represented item
 boolean hasChildren()
          Return whether the represented item has children
 
Methods inherited from interface org.eclipse.jpt.ui.jface.ItemContentProvider
dispose, getElements
 

Method Detail

getParent

java.lang.Object getParent()
Return the parent of the represented item


hasChildren

boolean hasChildren()
Return whether the represented item has children


getChildren

java.lang.Object[] getChildren()
Return the children of the represented item