Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Interface IStructuredContentProvider

All Superinterfaces:
All Known Subinterfaces:
ICommonContentProvider, IOverridableTabListContentProvider, IPipelinedTreeContentProvider, ITreeContentProvider, ITreePathContentProvider
All Known Implementing Classes:
AbstractSynchronizationContentProvider, ArrayContentProvider, BaseWorkbenchContentProvider, EnvironmentTab.EnvironmentVariableContentProvider, FileEditorMappingContentProvider, ObservableListContentProvider, ObservableListTreeContentProvider, ObservableSetContentProvider, ObservableSetTreeContentProvider, PreferenceContentProvider, RefactoringHistoryContentProvider, SynchronizationContentProvider, TreeNodeContentProvider, WorkbenchContentProvider

public interface IStructuredContentProvider
extends IContentProvider

An interface to content providers for structured viewers.

See Also:

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


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.

NOTE: For instances where the viewer is displaying a tree containing a single 'root' element it is still necessary that the 'input' does not return itself from this method. This leads to recursion issues (see bug 9262).

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire