Eclipse Platform
2.0

org.eclipse.jface.viewers
Interface IStructuredContentProvider

All Superinterfaces:
IContentProvider
All Known Subinterfaces:
ITreeContentProvider
All Known Implementing Classes:
FileEditorMappingContentProvider, WorkbenchContentProvider

public interface IStructuredContentProvider
extends IContentProvider

An interface to content providers for structured viewers.

See Also:
StructuredViewer

Method Summary
 Object[] getElements(Object inputElement)
          Returns the elements to display in the viewer when its input is set to the given element.
 
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
 

Method Detail

getElements

public Object[] getElements(Object inputElement)
Returns the elements to display in the viewer when its input is set to the given element. These elements can be presented as rows in a table, items in a list, etc. The result is not modified by the viewer.

Parameters:
inputElement - the input element
Returns:
the array of elements to display in the viewer

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.