Interface TableViewerSWTCustomization<T extends org.eclipse.jface.viewers.AbstractTableViewer>
-
- Type Parameters:
T- the TableViewer implementation to use
- All Superinterfaces:
ActionBarProvider<T>,ActionConfigurationProvider,DNDProvider,TableViewerCompositeBuilder,TableViewerCreator<T>
- All Known Implementing Classes:
DefaultTableControlSWTCustomization
public interface TableViewerSWTCustomization<T extends org.eclipse.jface.viewers.AbstractTableViewer> extends TableViewerCompositeBuilder, TableViewerCreator<T>, ActionBarProvider<T>, ActionConfigurationProvider, DNDProvider
The TableViewerSWTCustomization is used by theTableViewerCompositeto create the UI with its behaviour.- Author:
- Alexandra Buzila, Johannes Faltermeier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.jface.viewers.IContentProvidercreateContentProvider()Returns the content provider to use.java.util.List<ColumnConfiguration>getColumnConfigurations()Returns the column configurations which will be used to configure columns.Optional<org.eclipse.jface.viewers.ViewerComparator>getComparator()Returns the comparator to use.TableConfigurationgetTableConfiguration()Returns the table configuration which will be used to configure the table instance.-
Methods inherited from interface org.eclipse.emfforms.spi.swt.table.action.ActionBarProvider
getActionBar
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.table.action.ActionConfigurationProvider
getActionConfiguration
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.table.DNDProvider
getDragListener, getDragOperations, getDragTransferTypes, getDropListener, getDropOperations, getDropTransferTypes, hasDND
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.table.TableViewerCompositeBuilder
createCompositeLayout, getButtonComposite, getTitleLabel, getValidationControls, getViewerComposite
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.table.TableViewerCreator
createTableViewer
-
-
-
-
Method Detail
-
getComparator
Optional<org.eclipse.jface.viewers.ViewerComparator> getComparator()
Returns the comparator to use.- Returns:
- the
ViewerComparatorwhich will be set on the viewer, if present
-
createContentProvider
org.eclipse.jface.viewers.IContentProvider createContentProvider()
Returns the content provider to use.- Returns:
- the
IContentProviderwhich will be set on the viewer
-
getTableConfiguration
TableConfiguration getTableConfiguration()
Returns the table configuration which will be used to configure the table instance. May be null as long as the configuration is incomplete.- Returns:
- the
TableConfiguration
-
getColumnConfigurations
java.util.List<ColumnConfiguration> getColumnConfigurations()
Returns the column configurations which will be used to configure columns.- Returns:
- the
ColumnConfiguration
-
-