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 IIndexableLazyContentProvider

All Superinterfaces:
IContentProvider, ILazyContentProvider

public interface IIndexableLazyContentProvider
extends ILazyContentProvider

Adds efficient element indexing support to ILazyContentProvider.

Since:
3.5

Method Summary
 int findElement ( Object element)
          Find the row index of the parameter element in the set of contents provided by this object.
 
Methods inherited from interface org.eclipse.jface.viewers. ILazyContentProvider
updateElement
 
Methods inherited from interface org.eclipse.jface.viewers. IContentProvider
dispose, inputChanged
 

Method Detail

findElement

int findElement(
Object element)
Find the row index of the parameter element in the set of contents provided by this object. Under normal usage, this method will only be used to implement StructuredViewer#setSelection(ISelection) more efficiently.

Parameters:
element - the element to find within the contents served here
Returns:
the zero-based index of the element, or -1 if the element is not found

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