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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.viewers
Interface IStructuredContentProvider

All Superinterfaces:
IContentProvider
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:
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

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).

Parameters:
inputElement - the input element
Returns:
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