Dali Provisional API
Release 3.2

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

All Superinterfaces:
ItemContentProvider

public interface ItemStructuredContentProvider
extends ItemContentProvider

Implementations of this interface can be used to maintain the elements of a specific input element. The implementation will monitor the input element 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 an item structured content provider for a specified item.
static interface ItemStructuredContentProvider.Manager
          An item structured content provider's manager is notified whenever the input element's list of elements has 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 the view's 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. Stop listening to the provider's item, as appropriate.

Specified by:
dispose in interface ItemContentProvider
See Also:
IContentProvider.dispose()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.