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 JDT
Release 3.5

org.eclipse.jdt.ui
Class JavaElementContentProvider

java.lang.Object
  extended by 

org.eclipse.jdt.ui.StandardJavaElementContentProvider
      extended by 
org.eclipse.jdt.ui.JavaElementContentProvider
All Implemented Interfaces:
IElementChangedListener, IWorkingCopyProvider, IContentProvider, IStructuredContentProvider, ITreeContentProvider

Deprecated. use the StandardJavaElementContentProvider instead

public class JavaElementContentProvider
extends StandardJavaElementContentProvider
implements IElementChangedListener

A tree content provider for Java elements. It extends the StandardJavaElementContentProvider with support for listening to changes.

This class may be instantiated; it is not intended to be subclassed.

See Also:
StandardJavaElementContentProvider
Restriction:
This class is not intended to be subclassed by clients.

Field Summary
protected   Object fInput
          Deprecated. The input object
protected   TreeViewer fViewer
          Deprecated. The tree viewer
 
Fields inherited from class org.eclipse.jdt.ui. StandardJavaElementContentProvider
fProvideMembers, fProvideWorkingCopy, NO_CHILDREN
 
Constructor Summary
JavaElementContentProvider ()
          Deprecated. Creates a new content provider for Java elements.
JavaElementContentProvider (boolean provideMembers, boolean provideWorkingCopy)
          Deprecated. Creates a new content provider for Java elements.
 
Method Summary
 void dispose ()
          Deprecated.  
 void elementChanged ( ElementChangedEvent event)
          Deprecated. Notifies that one or more attributes of one or more Java elements have changed.
 void inputChanged ( Viewer viewer, Object oldInput, Object newInput)
          Deprecated.  
protected  void processDelta ( IJavaElementDelta delta)
          Deprecated. Processes a delta recursively.
 
Methods inherited from class org.eclipse.jdt.ui. StandardJavaElementContentProvider
concatenate, exists, getChildren, getElements, getFolderContent, getJavaProjects, getPackageContent, getPackageFragmentRootContent, getPackageFragmentRoots, getParent, getProvideMembers, getProvideWorkingCopy, hasChildren, internalGetParent, isClassPathChange, isPackageFragmentEmpty, isProjectPackageFragmentRoot, providesWorkingCopies, setProvideMembers, setProvideWorkingCopy, skipProjectPackageFragmentRoot
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fViewer

protected 
TreeViewer fViewer
Deprecated. 
The tree viewer


fInput

protected 
Object fInput
Deprecated. 
The input object

Constructor Detail

JavaElementContentProvider

public JavaElementContentProvider()
Deprecated. 
Creates a new content provider for Java elements.


JavaElementContentProvider

public JavaElementContentProvider(boolean provideMembers,
                                  boolean provideWorkingCopy)
Deprecated. 
Creates a new content provider for Java elements.

Parameters:
provideMembers - if true members below compilation units and class files are provided.
provideWorkingCopy - if true the element provider provides working copies for members of compilation units which have an associated working copy. Otherwise only original elements are provided.
Since:
2.0
Method Detail

dispose

public void dispose()
Deprecated. 
Specified by:
dispose in interface IContentProvider
Overrides:
dispose in class StandardJavaElementContentProvider

inputChanged

public void inputChanged(
Viewer viewer,
                         
Object oldInput,
                         
Object newInput)
Deprecated. 
Specified by:
inputChanged in interface IContentProvider
Overrides:
inputChanged in class StandardJavaElementContentProvider

elementChanged

public void elementChanged(
ElementChangedEvent event)
Deprecated. 
Description copied from interface: IElementChangedListener
Notifies that one or more attributes of one or more Java elements have changed. The specific details of the change are described by the given event.

Specified by:
elementChanged in interface IElementChangedListener
Parameters:
event - the change event

processDelta

protected void processDelta(
IJavaElementDelta delta)
                     throws 
JavaModelException
Deprecated. 
Processes a delta recursively. When more than two children are affected the tree is fully refreshed starting at this node. The delta is processed in the current thread but the viewer updates are posted to the UI thread.

Parameters:
delta - the delta to be processed
Throws:
JavaModelException - if an error occurs while processing the delta

Eclipse JDT
Release 3.5

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

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