Package org.eclipse.net4j.util.ui.views
Class IntrospectionProvider
java.lang.Object
org.eclipse.net4j.util.ui.views.IntrospectionProvider
- All Implemented Interfaces:
Comparable<IntrospectionProvider>
- Direct Known Subclasses:
RowIntrospectionProvider
public abstract class IntrospectionProvider
extends Object
implements Comparable<IntrospectionProvider>
- Since:
- 3.16
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attachListener
(TableViewer viewer, Object value) abstract boolean
final int
protected static TableColumn
createColumn
(TableViewer viewer, String name, int width) abstract void
createColumns
(TableViewer viewer) createViewer
(Composite parent) void
detachListener
(TableViewer viewer, Object value) protected static String
formatValue
(Object value) getBackground
(Object element) protected static String
getClassName
(Object value) getColumnImage
(Object element, int index) abstract String
getColumnText
(Object element, int index) abstract Object
getElementByName
(Object parent, String name) abstract Object[]
getElements
(Object parent) getForeground
(Object element) final String
getId()
final String
getLabel()
protected static String
abstract IntrospectionProvider.NameAndValue
getNameAndValue
(Object element) int
void
final String
toString()
-
Field Details
-
DEFAULT_PRIORITY
public static final int DEFAULT_PRIORITY- See Also:
-
-
Constructor Details
-
IntrospectionProvider
-
-
Method Details
-
getPriority
public int getPriority() -
getId
-
getLabel
-
open
-
attachListener
-
detachListener
-
canHandle
-
createViewer
-
createColumns
-
getElements
- Throws:
Exception
-
getElementByName
- Throws:
Exception
-
getNameAndValue
- Throws:
Exception
-
getColumnText
- Throws:
Exception
-
getColumnImage
- Throws:
Exception
-
getForeground
-
getBackground
-
getComparator
-
compareTo
- Specified by:
compareTo
in interfaceComparable<IntrospectionProvider>
-
toString
-
createColumn
-
getClassName
-
getName
-
formatValue
-