Package org.eclipse.net4j.util.ui.views
Class ManagedContainerItemProvider
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
org.eclipse.jface.viewers.ViewerSorter
org.eclipse.net4j.util.ui.StructuredContentProvider<INPUT>
org.eclipse.net4j.util.ui.views.ItemProvider<CONTAINER>
org.eclipse.net4j.util.ui.views.ContainerItemProvider<IContainer<Object>>
org.eclipse.net4j.util.ui.views.ManagedContainerItemProvider
- All Implemented Interfaces:
EventListener
,DelegatingStyledCellLabelProvider.IStyledLabelProvider
,IBaseLabelProvider
,IColorProvider
,IContentProvider
,IFontProvider
,ILabelProvider
,IStructuredContentProvider
,ITreeContentProvider
,IListener
- Since:
- 3.17
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.net4j.util.ui.views.ContainerItemProvider
ContainerItemProvider.AbstractContainerNode, ContainerItemProvider.AbstractNode, ContainerItemProvider.ContainerNode, ContainerItemProvider.ErrorElement, ContainerItemProvider.FixedChildrenNode, ContainerItemProvider.LazyElement, ContainerItemProvider.LeafNode, ContainerItemProvider.Node, ContainerItemProvider.SlowElement
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
IListener.NotifierAware
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.ui.views.ContainerItemProvider
ERROR_IMAGE, PENDING_COLOR, PENDING_IMAGE
Fields inherited from class org.eclipse.net4j.util.ui.views.ItemProvider
NO_ELEMENTS
Fields inherited from class org.eclipse.jface.viewers.ViewerSorter
collator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
connectInput
(IContainer<Object> input) protected void
disconnectInput
(IContainer<Object> input) void
dispose()
Object[]
getChildren
(Object element) getForeground
(Object element) getInput()
boolean
hasChildren
(Object element) boolean
void
setShowFactories
(boolean showFactories) Methods inherited from class org.eclipse.net4j.util.ui.views.ContainerItemProvider
addNode, clearNodesCache, createContaineNode, createLeafNode, createNode, createSlowElement, createSlowInput, elementAdded, elementRemoved, executeRunnable, fillContextMenu, filterRootElement, getContainerChildren, getErrorText, getFont, getNode, getNodes, getRoot, getRootElementFilter, getSlowText, handleElementEvent, handleInactiveElement, isComputeChildrenEagerly, isSlow, pendingColor, pendingImage, removeNode
Methods inherited from class org.eclipse.net4j.util.ui.views.ItemProvider
addListener, fireLabelProviderChanged, fireLabelProviderChanged, fireLabelProviderChanged, getBackground, getElements, getListeners, getStyledText, isLabelProperty, removeListener
Methods inherited from class org.eclipse.net4j.util.ui.StructuredContentProvider
expandElement, getBoldFont, getDisplay, getItalicFont, getViewer, inputChanged, notifyEvent, refreshElement, refreshSynced, refreshViewer, revealElement, selectElement, updateLabels
Methods inherited from class org.eclipse.jface.viewers.ViewerSorter
getCollator
Methods inherited from class org.eclipse.jface.viewers.ViewerComparator
category, compare, getComparator, isSorterProperty, sort
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
inputChanged
-
Constructor Details
-
ManagedContainerItemProvider
public ManagedContainerItemProvider()
-
-
Method Details
-
isShowFactories
public boolean isShowFactories() -
setShowFactories
public void setShowFactories(boolean showFactories) -
getInput
- Overrides:
getInput
in classStructuredContentProvider<IContainer<Object>>
-
hasChildren
- Specified by:
hasChildren
in interfaceITreeContentProvider
- Overrides:
hasChildren
in classContainerItemProvider<IContainer<Object>>
-
getChildren
- Specified by:
getChildren
in interfaceITreeContentProvider
- Overrides:
getChildren
in classContainerItemProvider<IContainer<Object>>
-
getParent
- Specified by:
getParent
in interfaceITreeContentProvider
- Overrides:
getParent
in classContainerItemProvider<IContainer<Object>>
-
getText
- Specified by:
getText
in interfaceILabelProvider
- Overrides:
getText
in classItemProvider<IContainer<Object>>
-
getImage
- Specified by:
getImage
in interfaceDelegatingStyledCellLabelProvider.IStyledLabelProvider
- Specified by:
getImage
in interfaceILabelProvider
- Overrides:
getImage
in classContainerItemProvider<IContainer<Object>>
-
getForeground
- Specified by:
getForeground
in interfaceIColorProvider
- Overrides:
getForeground
in classContainerItemProvider<IContainer<Object>>
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIBaseLabelProvider
- Specified by:
dispose
in interfaceIContentProvider
- Overrides:
dispose
in classStructuredContentProvider<IContainer<Object>>
-
connectInput
- Overrides:
connectInput
in classContainerItemProvider<IContainer<Object>>
-
disconnectInput
- Overrides:
disconnectInput
in classContainerItemProvider<IContainer<Object>>
-