|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The Common content provider allows extensions to vary their behavior based on properties in the extension model and the given memento. The state model should be initialized from values in the memento if necessary.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is a guarantee neither that this API will work nor that it will remain the same. Please do not use this API without consulting with the Platform/UI team.
Clients may (but are not required to) implement this interface if there is no cause to
do so. ITreeContentProvider is respected by the Common Navigator.
| Method Summary | |
|---|---|
void |
init(IExtensionStateModel aStateModel,
IMemento aMemento)
Initialize the content provider with the given extension model and memento. |
| Methods inherited from interface org.eclipse.jface.viewers.ITreeContentProvider |
|---|
getChildren, getParent, hasChildren |
| Methods inherited from interface org.eclipse.jface.viewers.IStructuredContentProvider |
|---|
getElements |
| Methods inherited from interface org.eclipse.jface.viewers.IContentProvider |
|---|
dispose, inputChanged |
| Methods inherited from interface org.eclipse.ui.navigator.IMementoAware |
|---|
restoreState, saveState |
| Method Detail |
public void init(IExtensionStateModel aStateModel,
IMemento aMemento)
aStateModel - The state model associated with this logical extension.aMemento - The associated memento for the given viewer. Clients should
ensure that the memento keys are unique; perhaps using the id
of the content extension as a prefix.ICommonLabelProvider
|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.