Package org.eclipse.jface.viewers
Class TreeViewerColumn
java.lang.Object
org.eclipse.jface.viewers.ViewerColumn
org.eclipse.jface.viewers.TreeViewerColumn
ViewerColumn implementation for TreeViewer to enable column-specific label
providers and editing support.
- Since:
- 3.3
-
Constructor Summary
ConstructorsConstructorDescriptionTreeViewerColumn(TreeViewer viewer, int style) Creates a new viewer column for the givenTreeVieweron a newTreeColumnwith the given style bits.TreeViewerColumn(TreeViewer viewer, int style, int index) Creates a new viewer column for the givenTreeVieweron a newTreeColumnwith the given style bits.TreeViewerColumn(TreeViewer viewer, TreeColumn column) Creates a new viewer column for the givenTreeVieweron the givenTreeColumn. -
Method Summary
Methods inherited from class org.eclipse.jface.viewers.ViewerColumn
getViewer, handleDispose, setEditingSupport, setLabelProvider
-
Constructor Details
-
TreeViewerColumn
Creates a new viewer column for the givenTreeVieweron a newTreeColumnwith the given style bits. The column is inserted at the given index into the list of columns.- Parameters:
viewer- the tree viewer to which this column belongsstyle- the style bits used to create the column, for applicable style bits seeTreeColumn- See Also:
-
TreeViewerColumn
Creates a new viewer column for the givenTreeVieweron a newTreeColumnwith the given style bits. The column is added at the end of the list of columns.- Parameters:
viewer- the tree viewer to which this column belongsstyle- the style bits used to create the column, for applicable style bits seeTreeColumnindex- the index at which to place the newly created column- See Also:
-
TreeViewerColumn
Creates a new viewer column for the givenTreeVieweron the givenTreeColumn.- Parameters:
viewer- the tree viewer to which this column belongscolumn- the underlying tree column
-
-
Method Details
-
getColumn
- Returns:
- the underlying SWT column
-