org.eclipse.cdt.internal.ui.callhierarchy
Class CHContentProvider

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider
      extended by org.eclipse.cdt.internal.ui.callhierarchy.CHContentProvider
All Implemented Interfaces:
org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider, org.eclipse.jface.viewers.ITreeContentProvider

public class CHContentProvider
extends AsyncTreeContentProvider

This is the content provider for the call hierarchy.


Constructor Summary
CHContentProvider(org.eclipse.swt.widgets.Display disp)
          Constructs the content provider.
 
Method Summary
 boolean getComputeReferencedBy()
           
 java.lang.Object getParent(java.lang.Object element)
           This implementation returns the parent for nodes indicating asyncronous computation.
 void setComputeReferencedBy(boolean value)
           
 void setWorkingSetFilter(WorkingSetFilterUI filterUI)
           
 
Methods inherited from class org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider
dispose, getChildren, getElements, getInput, hasChildren, inputChanged, recompute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CHContentProvider

public CHContentProvider(org.eclipse.swt.widgets.Display disp)
Constructs the content provider.

Method Detail

getParent

public java.lang.Object getParent(java.lang.Object element)
Description copied from class: AsyncTreeContentProvider

This implementation returns the parent for nodes indicating asyncronous computation. It returns null for all other elements. It should be overridden and called by derived classes.

Specified by:
getParent in interface org.eclipse.jface.viewers.ITreeContentProvider
Overrides:
getParent in class AsyncTreeContentProvider

setComputeReferencedBy

public void setComputeReferencedBy(boolean value)

getComputeReferencedBy

public boolean getComputeReferencedBy()

setWorkingSetFilter

public void setWorkingSetFilter(WorkingSetFilterUI filterUI)