Package org.eclipse.jface.viewers
Class TableViewerColumn
java.lang.Object
org.eclipse.jface.viewers.ViewerColumn
org.eclipse.jface.viewers.TableViewerColumn
ViewerColumn implementation for TableViewer to enable column-specific label
providers and editing support.
- Since:
- 3.3
-
Constructor Summary
ConstructorsConstructorDescriptionTableViewerColumn(TableViewer viewer, int style) Creates a new viewer column for the givenTableVieweron a newTableColumnwith the given style bits.TableViewerColumn(TableViewer viewer, int style, int index) Creates a new viewer column for the givenTableVieweron a newTableColumnwith the given style bits.TableViewerColumn(TableViewer viewer, TableColumn column) Creates a new viewer column for the givenTableVieweron the givenTableColumn. -
Method Summary
Methods inherited from class org.eclipse.jface.viewers.ViewerColumn
getViewer, handleDispose, setEditingSupport, setLabelProvider
-
Constructor Details
-
TableViewerColumn
Creates a new viewer column for the givenTableVieweron a newTableColumnwith the given style bits. The column is added at the end of the list of columns.- Parameters:
viewer- the table viewer to which this column belongsstyle- the style used to create the column, for applicable style bits seeTableColumn- See Also:
-
TableViewerColumn
Creates a new viewer column for the givenTableVieweron a newTableColumnwith the given style bits. The column is inserted at the given index into the list of columns.- Parameters:
viewer- the table viewer to which this column belongsstyle- the style used to create the column, for applicable style bits seeTableColumnindex- the index at which to place the newly created column- See Also:
-
TableViewerColumn
Creates a new viewer column for the givenTableVieweron the givenTableColumn.- Parameters:
viewer- the table viewer to which this column belongscolumn- the underlying table column
-
-
Method Details
-
getColumn
- Returns:
- the underlying SWT table column
-