Package org.eclipse.net4j.util.ui.views
Class RowIntrospectionProvider
java.lang.Object
org.eclipse.net4j.util.ui.views.IntrospectionProvider
org.eclipse.net4j.util.ui.views.RowIntrospectionProvider
- All Implemented Interfaces:
Comparable<IntrospectionProvider>
- Since:
- 3.16
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.net4j.util.ui.views.IntrospectionProvider
IntrospectionProvider.Factory, IntrospectionProvider.NameAndValue
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.ui.views.IntrospectionProvider
DEFAULT_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
createColumns
(TableViewer viewer) protected abstract void
fillRows
(Object parent, List<RowIntrospectionProvider.Row> rows) final Color
getBackground
(Object element) final String
getColumnText
(Object element, int index) final ViewerComparator
abstract RowIntrospectionProvider.Row
getElementByName
(Object parent, String name) final RowIntrospectionProvider.Row[]
getElements
(Object parent) final Color
getForeground
(Object element) getNameAndValue
(Object element) Methods inherited from class org.eclipse.net4j.util.ui.views.IntrospectionProvider
attachListener, canHandle, compareTo, createColumn, createViewer, detachListener, formatValue, getClassName, getColumnImage, getId, getLabel, getName, getPriority, open, toString
-
Field Details
-
DEFAULT_CATEGORY
public static final int DEFAULT_CATEGORY- See Also:
-
-
Constructor Details
-
RowIntrospectionProvider
-
-
Method Details
-
createColumns
- Specified by:
createColumns
in classIntrospectionProvider
-
getElements
- Specified by:
getElements
in classIntrospectionProvider
- Throws:
Exception
-
fillRows
protected abstract void fillRows(Object parent, List<RowIntrospectionProvider.Row> rows) throws Exception - Throws:
Exception
-
getElementByName
public abstract RowIntrospectionProvider.Row getElementByName(Object parent, String name) throws Exception - Specified by:
getElementByName
in classIntrospectionProvider
- Throws:
Exception
-
getNameAndValue
- Specified by:
getNameAndValue
in classIntrospectionProvider
- Throws:
Exception
-
getColumnText
- Specified by:
getColumnText
in classIntrospectionProvider
- Throws:
Exception
-
getForeground
- Overrides:
getForeground
in classIntrospectionProvider
-
getBackground
- Overrides:
getBackground
in classIntrospectionProvider
-
getComparator
- Overrides:
getComparator
in classIntrospectionProvider
-