public class CollectionContentProvider
extends java.lang.Object
implements org.eclipse.jface.viewers.IStructuredContentProvider
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<?> |
data |
Constructor and Description |
---|
CollectionContentProvider() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
java.lang.Object[] |
getElements(java.lang.Object input) |
void |
inputChanged(org.eclipse.jface.viewers.Viewer viewer,
java.lang.Object from,
java.lang.Object to) |
public java.lang.Object[] getElements(java.lang.Object input)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object from, java.lang.Object to)
inputChanged
in interface org.eclipse.jface.viewers.IContentProvider
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IContentProvider