Class GridTableViewerFactory
- java.lang.Object
-
- org.eclipse.emfforms.spi.swt.table.TableViewerFactory
-
- org.eclipse.emf.ecp.view.spi.table.nebula.grid.GridTableViewerFactory
-
public final class GridTableViewerFactory extends TableViewerFactory
A factory to createGridTableViewerComposites
.- Author:
- Johannes Faltermeier
-
-
Constructor Summary
Constructors Constructor Description GridTableViewerFactory()
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GridTableViewerSWTBuilder
fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input)
Use this method if you want to customize any behavior of theGridTableViewerComposite
.static GridTableViewerSWTBuilder
fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input, java.lang.String title, java.lang.String tooltip)
Use this method if you want to customize any behavior of theGridTableViewerComposite
.static GridTableViewerSWTBuilder
fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input, org.eclipse.core.databinding.observable.value.IObservableValue title, org.eclipse.core.databinding.observable.value.IObservableValue tooltip)
Use this method if you want to customize any behavior of theGridTableViewerComposite
.
-
-
-
Method Detail
-
fillDefaults
public static GridTableViewerSWTBuilder fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input)
Use this method if you want to customize any behavior of theGridTableViewerComposite
. This will return aGridTableViewerSWTBuilder
which allows to customize certain aspects.- Parameters:
composite
- the parent compositeswtStyleBits
- the style bits which will be passed to theGridTableViewerComposite
input
- the input object- Returns:
- the builder
-
fillDefaults
public static GridTableViewerSWTBuilder fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input, org.eclipse.core.databinding.observable.value.IObservableValue title, org.eclipse.core.databinding.observable.value.IObservableValue tooltip)
Use this method if you want to customize any behavior of theGridTableViewerComposite
. This will return aGridTableViewerSWTBuilder
which allows to customize certain aspects.- Parameters:
composite
- the parent compositeswtStyleBits
- the style bits which will be passed to theGridTableViewerComposite
input
- the input objecttitle
- the titletooltip
- the tooltip- Returns:
- the builder
-
fillDefaults
public static GridTableViewerSWTBuilder fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input, java.lang.String title, java.lang.String tooltip)
Use this method if you want to customize any behavior of theGridTableViewerComposite
. This will return aGridTableViewerSWTBuilder
which allows to customize certain aspects.- Parameters:
composite
- the parent compositeswtStyleBits
- the style bits which will be passed to theGridTableViewerComposite
input
- the input objecttitle
- the titletooltip
- the tooltip- Returns:
- the builder
-
-