Package org.eclipse.ui.navigator
Interface IPipelinedTreeContentProvider2
-
- All Superinterfaces:
ICommonContentProvider
,IContentProvider
,IMementoAware
,IPipelinedTreeContentProvider
,IStructuredContentProvider
,ITreeContentProvider
public interface IPipelinedTreeContentProvider2 extends IPipelinedTreeContentProvider
A pipelined content provider allows an extension to reshape the contributions of an upstream content extension. An "upstream" extension is either:- the extension overridden by this extension using the org.eclipse.ui.navigatorContent/navigatorContent/override element, or
- another extension that overrides the same extension this extension overrides, but with higher priority than this extension.
ITreeContentProvider
is respected by the Common Navigator. Note: this should be used instead ofIPipelinedTreeContentProvider
so that the hasChildren indication reflects the actual pipelined children that will be presented.- Since:
- 3.5
- See Also:
INavigatorPipelineService
,INavigatorContentService.getPipelineService()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasPipelinedChildren(Object anInput, boolean currentHasChildren)
Intercept the fact of having children and optionally modify this.-
Methods inherited from interface org.eclipse.ui.navigator.ICommonContentProvider
init
-
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
-
Methods inherited from interface org.eclipse.ui.navigator.IMementoAware
restoreState, saveState
-
Methods inherited from interface org.eclipse.ui.navigator.IPipelinedTreeContentProvider
getPipelinedChildren, getPipelinedElements, getPipelinedParent, interceptAdd, interceptRefresh, interceptRemove, interceptUpdate
-
Methods inherited from interface org.eclipse.jface.viewers.ITreeContentProvider
getChildren, getElements, getParent, hasChildren
-
-
-
-
Method Detail
-
hasPipelinedChildren
boolean hasPipelinedChildren(Object anInput, boolean currentHasChildren)
Intercept the fact of having children and optionally modify this. This calculation should match whether children will be actually provided.- Parameters:
anInput
- An input from the viewercurrentHasChildren
- The current proposed setting of hasChildren thus far from the upstream content providers.- Returns:
- The new value for hasChildren
-
-