Dali Provisional API
Release 3.2

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

All Known Subinterfaces:
ItemTreeContentProvider

public interface ItemStructuredContentProvider

Implementations of this interface can be used to maintain the elements of a specific input element. The implementation will monitor the item for any changes that affect the elements and forward them appropriately to the ItemStructuredContentProvider.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

Nested Class Summary
static interface ItemStructuredContentProvider.Factory
          Factory interface for constructing item content providers.
static interface ItemStructuredContentProvider.Manager
          An item structured content provider's manager is notified whenever the input element's elements have changed.
 
Method Summary
 void dispose()
          Dispose the item content provider.
 Object[] getElements()
          Return the input element's elements.
 

Method Detail

getElements

Object[] getElements()
Return the input element's elements. NB: When this method is called, the item is an input element.

See Also:
IContentProvider.inputChanged(org.eclipse.jface.viewers.Viewer, Object, Object), IStructuredContentProvider.getElements(Object), ITreeContentProvider.getElements(Object), ITreeContentProvider.getChildren(Object)

dispose

void dispose()
Dispose the item content provider. Remove any item listeners as appropriate.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.