Interface TableViewerCompositeBuilder
-
- All Known Subinterfaces:
TableViewerSWTCustomization<T>
- All Known Implementing Classes:
CompactVerticallyTableViewerCompositeBuilder
,DefaultTableControlSWTCustomization
,DefaultTableViewerCompositeBuilder
,TableControlSWTRenderer.CompactVerticallyTableControlSWTRendererCompositeBuilder
,TableControlSWTRenderer.TableControlSWTRendererCompositeBuilder
public interface TableViewerCompositeBuilder
A
TableViewerCompositeBuilder
is used to create the overallComposite
hierarchy 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
Label
which 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
Composite
which will contain allButtons
to control/modify the table entries.- Author:
- Johannes Faltermeier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createCompositeLayout(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.Composite
getViewerComposite()
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
Label
if 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
Composite
forcontrol-buttons
.
-
getViewerComposite
org.eclipse.swt.widgets.Composite getViewerComposite()
Called aftercreateCompositeLayout(Composite)
.- Returns:
- the parent
Composite
for theTableViewer
.
-
-