public class ArrayContentProvider extends Object implements IStructuredContentProvider
IStructuredContentProvider handles
the case where the viewer input is an unchanging array or collection of elements.
This class is not intended to be subclassed outside the viewer framework.
| Constructor and Description |
|---|
ArrayContentProvider() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getElements(Object inputElement)
Returns the elements in the input, which must be either an array or a
Collection. |
static ArrayContentProvider |
getInstance()
Returns an instance of ArrayContentProvider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, inputChangedpublic static ArrayContentProvider getInstance()
public Object[] getElements(Object inputElement)
Collection.getElements in interface IStructuredContentProviderinputElement - the input element
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.