Dali Provisional API
Release 3.2

org.eclipse.jpt.common.ui.jface
Interface ItemTreeContentProvider

All Superinterfaces:
ItemStructuredContentProvider

public interface ItemTreeContentProvider
extends ItemStructuredContentProvider

Implementations of this interface can be used to maintain the content of a specific tree element. The implementation will monitor the element for any changes that affect the element's children and forward them appropriately to the ItemTreeContentProvider.Manager.

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.

See Also:
IContentProvider, IStructuredContentProvider, ITreeContentProvider

Nested Class Summary
static interface ItemTreeContentProvider.Factory
          Factory interface for constructing item tree content providers.
static interface ItemTreeContentProvider.Manager
          An item tree content provider's manager is notified whenever the item's children have changed.
 
Method Summary
 Object[] getChildren()
          Return the item's children.
 Object getParent()
          Return the item's parent.
 boolean hasChildren()
          Return whether the item has children.
 
Methods inherited from interface org.eclipse.jpt.common.ui.jface.ItemStructuredContentProvider
dispose, getElements
 

Method Detail

getParent

Object getParent()
Return the item's parent.

See Also:
ITreeContentProvider.getParent(Object)

hasChildren

boolean hasChildren()
Return whether the item has children.

See Also:
ITreeContentProvider.hasChildren(Object)

getChildren

Object[] getChildren()
Return the item's children.

See Also:
ITreeContentProvider.getChildren(Object)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.