Class ArrayTreeContentProvider
java.lang.Object
org.eclipse.nebula.widgets.xviewer.util.internal.ArrayTreeContentProvider
- All Implemented Interfaces:
org.eclipse.jface.viewers.IContentProvider
,org.eclipse.jface.viewers.IStructuredContentProvider
,org.eclipse.jface.viewers.ITreeContentProvider
public class ArrayTreeContentProvider
extends java.lang.Object
implements org.eclipse.jface.viewers.ITreeContentProvider
-
Constructor Summary
Constructors Constructor Description ArrayTreeContentProvider()
-
Method Summary
Modifier and Type Method Description 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)
-
Constructor Details
-
ArrayTreeContentProvider
public ArrayTreeContentProvider()
-
-
Method Details
-
getChildren
public java.lang.Object[] getChildren(java.lang.Object parentElement)- Specified by:
getChildren
in interfaceorg.eclipse.jface.viewers.ITreeContentProvider
-
getParent
public java.lang.Object getParent(java.lang.Object element)- Specified by:
getParent
in interfaceorg.eclipse.jface.viewers.ITreeContentProvider
-
hasChildren
public boolean hasChildren(java.lang.Object element)- Specified by:
hasChildren
in interfaceorg.eclipse.jface.viewers.ITreeContentProvider
-
getElements
public java.lang.Object[] getElements(java.lang.Object inputElement)- Specified by:
getElements
in interfaceorg.eclipse.jface.viewers.IStructuredContentProvider
- Specified by:
getElements
in interfaceorg.eclipse.jface.viewers.ITreeContentProvider
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.eclipse.jface.viewers.IContentProvider
-
inputChanged
public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object oldInput, java.lang.Object newInput)- Specified by:
inputChanged
in interfaceorg.eclipse.jface.viewers.IContentProvider
-