public interface TableViewerCompositeBuilder
A TableViewerCompositeBuilder
is used to create the overall Composite
hierarchy for the
TableViewerComposite
. The layout will be created by a call to createCompositeLayout(Composite)
.
This method is supposed to create at least a parent composite for TableViewer
.
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 all
Buttons
to
control/modify the table entries.
Modifier and Type | Method and Description |
---|---|
void |
createCompositeLayout(org.eclipse.swt.widgets.Composite parent)
Called to create the
composites . |
Optional<org.eclipse.swt.widgets.Composite> |
getButtonComposite()
Called after
createCompositeLayout(Composite) . |
Optional<org.eclipse.swt.widgets.Label> |
getTitleLabel()
Called after
createCompositeLayout(Composite) . |
Optional<List<org.eclipse.swt.widgets.Control>> |
getValidationControls()
Called after
createCompositeLayout(Composite) . |
org.eclipse.swt.widgets.Composite |
getViewerComposite()
Called after
createCompositeLayout(Composite) . |
void createCompositeLayout(org.eclipse.swt.widgets.Composite parent)
composites
.parent
- the parentOptional<org.eclipse.swt.widgets.Label> getTitleLabel()
createCompositeLayout(Composite)
.Label
if availableOptional<List<org.eclipse.swt.widgets.Control>> getValidationControls()
createCompositeLayout(Composite)
.controls
.Optional<org.eclipse.swt.widgets.Composite> getButtonComposite()
createCompositeLayout(Composite)
.Composite
for control-buttons
.org.eclipse.swt.widgets.Composite getViewerComposite()
createCompositeLayout(Composite)
.Composite
for the TableViewer
.Copyright © 2016. All rights reserved.