Interface TableViewerCompositeBuilder
-
- All Known Subinterfaces:
TableViewerSWTCustomization<T>
- All Known Implementing Classes:
CompactVerticallyTableViewerCompositeBuilder,DefaultTableControlSWTCustomization,DefaultTableViewerCompositeBuilder,TableControlSWTRenderer.CompactVerticallyTableControlSWTRendererCompositeBuilder,TableControlSWTRenderer.TableControlSWTRendererCompositeBuilder
public interface TableViewerCompositeBuilderA
TableViewerCompositeBuilderis used to create the overallCompositehierarchy for theTableViewerComposite. The layout will be created by a call tocreateCompositeLayout(Composite). This method is supposed to create at least a parent composite forTableViewer.Optionally this builder may create a
Labelwhich will show a title/description for the table.Optionally this builder may create multiple controls which will show status/validation results. These controls will be accessible.
Optionally this builder may create a parent
Compositewhich will contain allButtonsto control/modify the table entries.- Author:
- Johannes Faltermeier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateCompositeLayout(org.eclipse.swt.widgets.Composite parent)Called to create thecomposites.Optional<org.eclipse.swt.widgets.Composite>getButtonComposite()Called aftercreateCompositeLayout(Composite).Optional<org.eclipse.swt.widgets.Label>getTitleLabel()Called aftercreateCompositeLayout(Composite).Optional<java.util.List<org.eclipse.swt.widgets.Control>>getValidationControls()Called aftercreateCompositeLayout(Composite).org.eclipse.swt.widgets.CompositegetViewerComposite()Called aftercreateCompositeLayout(Composite).
-
-
-
Method Detail
-
createCompositeLayout
void createCompositeLayout(org.eclipse.swt.widgets.Composite parent)
Called to create thecomposites.- Parameters:
parent- the parent
-
getTitleLabel
Optional<org.eclipse.swt.widgets.Label> getTitleLabel()
Called aftercreateCompositeLayout(Composite).- Returns:
- the title
Labelif available
-
getValidationControls
Optional<java.util.List<org.eclipse.swt.widgets.Control>> getValidationControls()
Called aftercreateCompositeLayout(Composite).- Returns:
- the list of validation
controls.
-
getButtonComposite
Optional<org.eclipse.swt.widgets.Composite> getButtonComposite()
Called aftercreateCompositeLayout(Composite).- Returns:
- the parent
Compositeforcontrol-buttons.
-
getViewerComposite
org.eclipse.swt.widgets.Composite getViewerComposite()
Called aftercreateCompositeLayout(Composite).- Returns:
- the parent
Compositefor theTableViewer.
-
-