Class GridViewerColumn
java.lang.Object
org.eclipse.jface.viewers.ViewerColumn
org.eclipse.nebula.jface.gridviewer.GridViewerColumn
public final class GridViewerColumn
extends org.eclipse.jface.viewers.ViewerColumn
The concrete implementation of the ColumnViewer for the grid.
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.widgets.ListenercolumnResizeListenerListener used to get informed when the colum resizes -
Constructor Summary
Constructors Constructor Description GridViewerColumn(org.eclipse.jface.viewers.ColumnViewer viewer, GridColumn column)GridViewerColumn(GridTableViewer viewer, int style)Create a new column in theGridTableViewerGridViewerColumn(GridTableViewer viewer, int style, int index)Create a new column in theGridTableViewerGridViewerColumn(GridTableViewer viewer, GridColumn column)GridViewerColumn(GridTreeViewer viewer, int style)Create a new column in theGridTreeViewerGridViewerColumn(GridTreeViewer viewer, int style, int index)Create a new column in theGridTreeViewerGridViewerColumn(GridTreeViewer viewer, GridColumn column) -
Method Summary
Modifier and Type Method Description GridColumngetColumn()Returns the underlying column.protected voidhandleDispose()voidsetEditingSupport(org.eclipse.jface.viewers.EditingSupport editingSupport)
-
Field Details
-
columnResizeListener
protected org.eclipse.swt.widgets.Listener columnResizeListenerListener used to get informed when the colum resizes
-
-
Constructor Details
-
GridViewerColumn
Create a new column in theGridTableViewer- Parameters:
viewer- the viewer the column belongs tostyle- the style used to create the column for style bits seeGridColumn- See Also:
GridColumn(Grid, int)
-
GridViewerColumn
Create a new column in theGridTreeViewer- Parameters:
viewer- the viewer the column belongs tostyle- the style used to create the column for style bits seeGridColumn- See Also:
GridColumn(Grid, int)
-
GridViewerColumn
Create a new column in theGridTableViewer- Parameters:
viewer- the viewer the column belongs tostyle- the style used to create the column for style bits seeGridColumnindex- the index of the newly created column- See Also:
GridColumn(Grid, int, int)
-
GridViewerColumn
Create a new column in theGridTreeViewer- Parameters:
viewer- the viewer the column belongs tostyle- the style used to create the column for style bits seeGridColumnindex- the index of the newly created column- See Also:
GridColumn(Grid, int, int)
-
GridViewerColumn
- Parameters:
viewer- the viewer the column belongs tocolumn- the column the viewer is attached to
-
GridViewerColumn
- Parameters:
viewer- the viewer the column belongs tocolumn- the column the viewer is attached to
-
GridViewerColumn
GridViewerColumn(org.eclipse.jface.viewers.ColumnViewer viewer, GridColumn column)
-
-
Method Details
-
getColumn
Returns the underlying column.- Returns:
- the underlying Nebula column
-
setEditingSupport
public void setEditingSupport(org.eclipse.jface.viewers.EditingSupport editingSupport)- Overrides:
setEditingSupportin classorg.eclipse.jface.viewers.ViewerColumn
-
handleDispose
protected void handleDispose()- Overrides:
handleDisposein classorg.eclipse.jface.viewers.ViewerColumn
-