public static interface TableViewerSWTCustomization.ColumnDescription
Modifier and Type | Field and Description |
---|---|
static int |
NO_WEIGHT
Constant indicating that
getWeight() has no value. |
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.jface.viewers.EditingSupport> |
createEditingSupport(org.eclipse.jface.viewers.AbstractTableViewer columnViewer)
Called to setup the
EditingSupport for 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.
|
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.
|
Map<String,Object> |
getData()
Get the underlying data map.
|
Object |
getData(String key)
Get an arbitrary element from the data map.
|
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()
true if moveable, false otherwise. |
boolean |
isResizeable()
true if resizeable, false otherwise. |
void |
setData(Map<String,Object> data)
Add the contents of the given map to the data map.
|
static final int NO_WEIGHT
getWeight()
has no value.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 AbstractTableViewer
Optional<org.eclipse.swt.graphics.Image> getColumnImage()
Object getData(String key)
key
- (see constants)void setData(Map<String,Object> data)
data
- objectCopyright © 2017. All rights reserved.