public final class GridViewerColumn
extends ViewerColumn
Modifier and Type | Field and Description |
---|---|
protected Listener |
columnResizeListener
Listener used to get informed when the colum resizes
|
Constructor and Description |
---|
GridViewerColumn(GridTableViewer viewer,
GridColumn column) |
GridViewerColumn(GridTableViewer viewer,
int style)
Create a new column in the
GridTableViewer |
GridViewerColumn(GridTableViewer viewer,
int style,
int index)
Create a new column in the
GridTableViewer |
GridViewerColumn(GridTreeViewer viewer,
GridColumn column) |
GridViewerColumn(GridTreeViewer viewer,
int style)
Create a new column in the
GridTreeViewer |
GridViewerColumn(GridTreeViewer viewer,
int style,
int index)
Create a new column in the
GridTreeViewer |
Modifier and Type | Method and Description |
---|---|
GridColumn |
getColumn()
Returns the underlying column.
|
protected void |
handleDispose() |
void |
setEditingSupport(EditingSupport editingSupport) |
protected Listener columnResizeListener
public GridViewerColumn(GridTableViewer viewer, int style)
GridTableViewer
viewer
- the viewer the column belongs tostyle
- the style used to create the column for style bits see GridColumn
GridColumn.GridColumn(Grid, int)
public GridViewerColumn(GridTreeViewer viewer, int style)
GridTreeViewer
viewer
- the viewer the column belongs tostyle
- the style used to create the column for style bits see GridColumn
GridColumn.GridColumn(Grid, int)
public GridViewerColumn(GridTableViewer viewer, int style, int index)
GridTableViewer
viewer
- the viewer the column belongs tostyle
- the style used to create the column for style bits see GridColumn
index
- the index of the newly created columnGridColumn.GridColumn(Grid, int, int)
public GridViewerColumn(GridTreeViewer viewer, int style, int index)
GridTreeViewer
viewer
- the viewer the column belongs tostyle
- the style used to create the column for style bits see GridColumn
index
- the index of the newly created columnGridColumn.GridColumn(Grid, int, int)
public GridViewerColumn(GridTreeViewer viewer, GridColumn column)
viewer
- the viewer the column belongs tocolumn
- the column the viewer is attached topublic GridViewerColumn(GridTableViewer viewer, GridColumn column)
viewer
- the viewer the column belongs tocolumn
- the column the viewer is attached topublic GridColumn getColumn()
public void setEditingSupport(EditingSupport editingSupport)
protected void handleDispose()
Copyright (c) EclipseSource and others 2002, 2020.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0