public class DefaultTableViewerColumnBuilder extends AbstractTableViewerColumnBuilder<org.eclipse.jface.viewers.TableViewer,org.eclipse.jface.viewers.TableViewerColumn>
Constructor and Description |
---|
DefaultTableViewerColumnBuilder(ColumnConfiguration config)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureDatabinding(org.eclipse.swt.widgets.Widget column)
Configures data binding for the given column widget.
|
protected void |
configureEditingSupport(org.eclipse.jface.viewers.TableViewerColumn viewerColumn,
org.eclipse.jface.viewers.TableViewer tableViewer)
Configures the EditingSupport for the given table viewer/column.
|
protected void |
configureViewerColumn(org.eclipse.jface.viewers.TableViewerColumn viewerColumn)
Configures a viewer column instance.
|
org.eclipse.jface.viewers.TableViewerColumn |
createViewerColumn(org.eclipse.jface.viewers.TableViewer tableViewer)
Creates a new ViewerColumn instance.
|
protected org.eclipse.swt.widgets.Item |
getTableColumn(org.eclipse.jface.viewers.TableViewerColumn viewerColumn)
Returns the table column control for the given viewer column.
|
bindValue, build, configure, configureContextMap, configureImage, configureLabelProvider, getConfig, withDatabinding
public DefaultTableViewerColumnBuilder(ColumnConfiguration config)
config
- the ColumnConfiguration
public org.eclipse.jface.viewers.TableViewerColumn createViewerColumn(org.eclipse.jface.viewers.TableViewer tableViewer)
AbstractTableViewerColumnBuilder
createViewerColumn
in class AbstractTableViewerColumnBuilder<org.eclipse.jface.viewers.TableViewer,org.eclipse.jface.viewers.TableViewerColumn>
tableViewer
- the TableViewerprotected org.eclipse.swt.widgets.Item getTableColumn(org.eclipse.jface.viewers.TableViewerColumn viewerColumn)
AbstractTableViewerColumnBuilder
getTableColumn
in class AbstractTableViewerColumnBuilder<org.eclipse.jface.viewers.TableViewer,org.eclipse.jface.viewers.TableViewerColumn>
viewerColumn
- the viewer columnprotected void configureDatabinding(org.eclipse.swt.widgets.Widget column)
AbstractTableViewerColumnBuilder
configureDatabinding
in class AbstractTableViewerColumnBuilder<org.eclipse.jface.viewers.TableViewer,org.eclipse.jface.viewers.TableViewerColumn>
column
- the column widget to configureprotected void configureViewerColumn(org.eclipse.jface.viewers.TableViewerColumn viewerColumn)
AbstractTableViewerColumnBuilder
configureViewerColumn
in class AbstractTableViewerColumnBuilder<org.eclipse.jface.viewers.TableViewer,org.eclipse.jface.viewers.TableViewerColumn>
viewerColumn
- the viewer column to configureprotected void configureEditingSupport(org.eclipse.jface.viewers.TableViewerColumn viewerColumn, org.eclipse.jface.viewers.TableViewer tableViewer)
AbstractTableViewerColumnBuilder
configureEditingSupport
in class AbstractTableViewerColumnBuilder<org.eclipse.jface.viewers.TableViewer,org.eclipse.jface.viewers.TableViewerColumn>
viewerColumn
- the viewer column to configuretableViewer
- the table viewer the column belongs toCopyright © 2019. All rights reserved.