Class TableViewerFactory
- java.lang.Object
-
- org.eclipse.emfforms.spi.swt.table.TableViewerFactory
-
- Direct Known Subclasses:
GridTableViewerFactory,GridTableViewerFactory
public class TableViewerFactory extends java.lang.ObjectA factory to createTableViewerComposites.- Author:
- Johannes Faltermeier
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTableViewerFactory()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableViewerSWTBuilderfillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input)Use this method if you want to customize any behavior of theTableViewerComposite.static TableViewerSWTBuilderfillDefaults(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 theTableViewerComposite.static TableViewerSWTBuilderfillDefaults(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 theTableViewerComposite.
-
-
-
Method Detail
-
fillDefaults
public static TableViewerSWTBuilder fillDefaults(org.eclipse.swt.widgets.Composite composite, int swtStyleBits, java.lang.Object input)
Use this method if you want to customize any behavior of theTableViewerComposite. This will return aTableViewerSWTBuilderwhich allows to customize certain aspects.- Parameters:
composite- the parent compositeswtStyleBits- the style bits which will be passed to theTableViewerCompositeinput- the input object- Returns:
- the builder
-
fillDefaults
public static TableViewerSWTBuilder 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 theTableViewerComposite. This will return aTableViewerSWTBuilderwhich allows to customize certain aspects.- Parameters:
composite- the parent compositeswtStyleBits- the style bits which will be passed to theTableViewerCompositeinput- the input objecttitle- the titletooltip- the tooltip- Returns:
- the builder
-
fillDefaults
public static TableViewerSWTBuilder 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 theTableViewerComposite. This will return aTableViewerSWTBuilderwhich allows to customize certain aspects.- Parameters:
composite- the parent compositeswtStyleBits- the style bits which will be passed to theTableViewerCompositeinput- the input objecttitle- the titletooltip- the tooltip- Returns:
- the builder
-
-