public final class TableViewerColumn extends ViewerColumn
Constructor and Description |
---|
TableViewerColumn(TableViewer viewer,
int style)
Creates a new viewer column for the given
TableViewer on a new
TableColumn with the given style bits. |
TableViewerColumn(TableViewer viewer,
int style,
int index)
Creates a new viewer column for the given
TableViewer on a new
TableColumn with the given style bits. |
TableViewerColumn(TableViewer viewer,
TableColumn column)
Creates a new viewer column for the given
TableViewer on the given
TableColumn . |
Modifier and Type | Method and Description |
---|---|
TableColumn |
getColumn() |
getViewer, handleDispose, setEditingSupport, setLabelProvider
public TableViewerColumn(TableViewer viewer, int style)
TableViewer
on a new
TableColumn
with the given style bits. The column is added at the
end of the list of columns.viewer
- the table viewer to which this column belongsstyle
- the style used to create the column, for applicable style bits
see TableColumn
TableColumn.TableColumn(Table, int)
public TableViewerColumn(TableViewer viewer, int style, int index)
TableViewer
on a new
TableColumn
with the given style bits. The column is inserted at
the given index into the list of columns.viewer
- the table viewer to which this column belongsstyle
- the style used to create the column, for applicable style bits
see TableColumn
index
- the index at which to place the newly created columnTableColumn.TableColumn(Table, int, int)
public TableViewerColumn(TableViewer viewer, TableColumn column)
TableViewer
on the given
TableColumn
.viewer
- the table viewer to which this column belongscolumn
- the underlying table columnpublic TableColumn getColumn()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.