|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jface.viewers.ArrayContentProvider
This implementation of IStructuredContentProvider
handles
the case where the input is an unchanging array or collection of elements.
Constructor Summary | |
ArrayContentProvider()
|
Method Summary | |
void |
dispose()
This implementation does nothing. |
Object[] |
getElements(Object inputElement)
Returns the elements in the input, which must be either an array or a Collection . |
void |
inputChanged(Viewer viewer,
Object oldInput,
Object newInput)
This implementation does nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArrayContentProvider()
Method Detail |
public Object[] getElements(Object inputElement)
Collection
.
getElements
in interface IStructuredContentProvider
inputElement
- the input element
public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
inputChanged
in interface IContentProvider
viewer
- the vieweroldInput
- the old input element, or null
if the viewer
did not previously have an inputnewInput
- the new input element, or null
if the viewer
does not have an inputpublic void dispose()
dispose
in interface IContentProvider
|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |