public class TreeContentProvider extends AbstractViewerStateListener implements org.eclipse.jface.viewers.ITreeContentProvider
Constructor and Description |
---|
TreeContentProvider() |
Modifier and Type | Method and Description |
---|---|
void |
containmentAppeared(Containment edge) |
void |
containmentDisappeared(Containment edge) |
void |
dispose() |
java.lang.Object[] |
getChildren(java.lang.Object parentElement) |
java.lang.Object[] |
getElements(java.lang.Object inputElement) |
java.lang.Object |
getParent(java.lang.Object element) |
boolean |
hasChildren(java.lang.Object element) |
void |
inputChanged(org.eclipse.jface.viewers.Viewer viewer,
java.lang.Object oldInput,
java.lang.Object newInput) |
void |
itemAppeared(Item item) |
void |
itemDisappeared(Item item) |
edgeAppeared, edgeDisappeared
public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object oldInput, java.lang.Object newInput)
inputChanged
in interface org.eclipse.jface.viewers.IContentProvider
public java.lang.Object[] getElements(java.lang.Object inputElement)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
getElements
in interface org.eclipse.jface.viewers.ITreeContentProvider
public java.lang.Object[] getChildren(java.lang.Object parentElement)
getChildren
in interface org.eclipse.jface.viewers.ITreeContentProvider
public java.lang.Object getParent(java.lang.Object element)
getParent
in interface org.eclipse.jface.viewers.ITreeContentProvider
public boolean hasChildren(java.lang.Object element)
hasChildren
in interface org.eclipse.jface.viewers.ITreeContentProvider
public void itemAppeared(Item item)
itemAppeared
in interface IViewerStateListener
itemAppeared
in class AbstractViewerStateListener
public void itemDisappeared(Item item)
itemDisappeared
in interface IViewerStateListener
itemDisappeared
in class AbstractViewerStateListener
public void containmentAppeared(Containment edge)
containmentAppeared
in interface IViewerStateListener
containmentAppeared
in class AbstractViewerStateListener
public void containmentDisappeared(Containment edge)
containmentDisappeared
in interface IViewerStateListener
containmentDisappeared
in class AbstractViewerStateListener
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IContentProvider