public interface ColumnConfiguration
| Modifier and Type | Field and Description | 
|---|---|
| static Set<Feature> | ALL_FEATURESAll configurable features. | 
| static String | COLUMN_IDData key for column id. | 
| static String | DMRData key for a domain model reference. | 
| static Feature | FEATURE_COLUMN_FILTERFeature toggle for column filter support. | 
| static Feature | FEATURE_COLUMN_HIDE_SHOWFeature toggle for column hide/show support. | 
| static Feature | FEATURE_COLUMN_REGEX_FILTERFeature toggle for column filter support. | 
| static Feature[] | FEATURESDeprecated. 
 Since 1.21, use the immutable  ALL_FEATURESset instead of this,
             which can be modified in place. | 
| static String | IDColumn data configuration key. | 
| static String | MIN_WIDTHData key for the minimum width of the column. | 
| static int | NO_WEIGHTConstant indicating that  getWeight()has no value. | 
| static String | RESIZABLEData key for resizable columns. | 
| static String | WEIGHTData key for column weight. | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<org.eclipse.jface.viewers.EditingSupport> | createEditingSupport(org.eclipse.jface.viewers.AbstractTableViewer columnViewer)Called to setup the  EditingSupportfor the viewer. | 
| org.eclipse.jface.viewers.CellLabelProvider | createLabelProvider(org.eclipse.jface.viewers.AbstractTableViewer columnViewer)The cell label provider which will be set on the column. | 
| void | dispose()Dispose this configuration and all its properties. | 
| Optional<org.eclipse.swt.graphics.Image> | getColumnImage()The image of the column. | 
| org.eclipse.core.databinding.observable.value.IObservableValue | getColumnText()The header text for the column. | 
| org.eclipse.core.databinding.observable.value.IObservableValue | getColumnTooltip()The column header tooltip text. | 
| List<ConfigurationCallback<org.eclipse.jface.viewers.AbstractTableViewer,org.eclipse.jface.viewers.ViewerColumn>> | getConfigurationCallbacks()Get the list of additional ConfigurationCallbacks. | 
| Map<String,Object> | getData()Get the underlying data map. | 
| Object | getData(String key)Get an arbitrary element from the data map. | 
| Set<Feature> | getEnabledFeatures()Returns a static array of enabled features. | 
| int | getMinWidth()The minimal width of the column. | 
| int | getStyleBits()The SWT style bits which will be used to create the column. | 
| int | getWeight()The weight of the column. | 
| boolean | isMoveable()trueif moveable,falseotherwise. | 
| boolean | isResizeable()trueif resizeable,falseotherwise. | 
| Property<Object> | matchFilter()Set a filter on the current column. | 
| void | setData(Map<String,Object> data)Add the contents of the given map to the data map. | 
| Property<Boolean> | showFilterControl()Toggle the visible state of the filter control. | 
| Property<Boolean> | visible()Toggle the visible state of the column. | 
static final Feature FEATURE_COLUMN_HIDE_SHOW
static final Feature FEATURE_COLUMN_FILTER
static final Feature FEATURE_COLUMN_REGEX_FILTER
@Deprecated static final Feature[] FEATURES
ALL_FEATURES set instead of this,
             which can be modified in place.static final String ID
static final String RESIZABLE
static final String WEIGHT
static final int NO_WEIGHT
getWeight() has no value.static final String MIN_WIDTH
static final String COLUMN_ID
static final String DMR
Set<Feature> getEnabledFeatures()
boolean isResizeable()
true if resizeable, false otherwise.boolean isMoveable()
true if moveable, false otherwise.int getStyleBits()
int getWeight()
int getMinWidth()
org.eclipse.core.databinding.observable.value.IObservableValue getColumnText()
org.eclipse.core.databinding.observable.value.IObservableValue getColumnTooltip()
org.eclipse.jface.viewers.CellLabelProvider createLabelProvider(org.eclipse.jface.viewers.AbstractTableViewer columnViewer)
columnViewer - the column viewerOptional<org.eclipse.jface.viewers.EditingSupport> createEditingSupport(org.eclipse.jface.viewers.AbstractTableViewer columnViewer)
EditingSupport for the viewer.columnViewer - the AbstractTableViewerOptional<org.eclipse.swt.graphics.Image> getColumnImage()
Object getData(String key)
key - (see constants)void setData(Map<String,Object> data)
data - objectList<ConfigurationCallback<org.eclipse.jface.viewers.AbstractTableViewer,org.eclipse.jface.viewers.ViewerColumn>> getConfigurationCallbacks()
Property<Boolean> visible()
Property<Boolean> showFilterControl()
Property<Object> matchFilter()
void dispose()
Copyright © 2019. All rights reserved.