Package org.eclipse.net4j.util.ui
Class StructuredContentProvider<INPUT>
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
org.eclipse.jface.viewers.ViewerSorter
org.eclipse.net4j.util.ui.StructuredContentProvider<INPUT>
- All Implemented Interfaces:
EventListener
,IContentProvider
,IStructuredContentProvider
,IListener
- Direct Known Subclasses:
FactoryTypeContentProvider
,ItemProvider
,StaticContentProvider
public abstract class StructuredContentProvider<INPUT>
extends ViewerSorter
implements IStructuredContentProvider, IListener
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
IListener.NotifierAware
-
Field Summary
Fields inherited from class org.eclipse.jface.viewers.ViewerSorter
collator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
connectInput
(INPUT input) protected void
disconnectInput
(INPUT input) void
dispose()
void
expandElement
(Object element, int level) protected Font
protected Display
getInput()
protected Font
void
inputChanged
(Viewer viewer, Object oldInput, Object newInput) void
notifyEvent
(IEvent event) void
refreshElement
(Object element, boolean updateLabels) void
refreshSynced
(Object element, boolean updateLabels) Deprecated.void
refreshViewer
(boolean updateLabels) void
revealElement
(Object element) void
selectElement
(Object element, boolean reveal) void
updateLabels
(Object element) 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.IStructuredContentProvider
getElements
-
Constructor Details
-
StructuredContentProvider
public StructuredContentProvider()
-
-
Method Details
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIContentProvider
-
getInput
-
getViewer
-
inputChanged
- Specified by:
inputChanged
in interfaceIContentProvider
-
connectInput
-
disconnectInput
-
notifyEvent
- Specified by:
notifyEvent
in interfaceIListener
-
refreshViewer
public void refreshViewer(boolean updateLabels) - Since:
- 3.0
-
refreshElement
- Since:
- 3.1
-
refreshSynced
Deprecated.- Since:
- 3.1
-
updateLabels
- Since:
- 3.1
-
revealElement
- Since:
- 3.1
-
selectElement
- Since:
- 3.1
-
expandElement
- Since:
- 3.3
-
getDisplay
-
getItalicFont
- Since:
- 3.1
-
getBoldFont
- Since:
- 3.3
-
refreshElement(Object, boolean)