public class GridColumnLabelProvider
extends ColumnLabelProvider
Grid
. This is
currently limited to supplying the row header text.
Only one from all GridColumnLabelProvider
in a viewer should return a none
null
Constructor and Description |
---|
GridColumnLabelProvider() |
Modifier and Type | Method and Description |
---|---|
int |
getColumnSpan(java.lang.Object element)
Returns the number of columns this element should span
|
java.lang.String |
getRowHeaderText(java.lang.Object element)
Returns the row header text for this element.
|
int |
getRowSpan(java.lang.Object element)
Returns the number of rows this element should span
|
void |
update(ViewerCell cell) |
public java.lang.String getRowHeaderText(java.lang.Object element)
element
- the model elementnull
if this label provider would
not like to modify the default textpublic int getColumnSpan(java.lang.Object element)
element
- the model elementpublic int getRowSpan(java.lang.Object element)
element
- the model elementpublic void update(ViewerCell cell)
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