Class TableRendererActionBar
- java.lang.Object
-
- org.eclipse.emfforms.spi.swt.table.action.TableActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
-
- org.eclipse.emf.ecp.view.spi.table.swt.action.TableRendererActionBar
-
- All Implemented Interfaces:
ActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
public class TableRendererActionBar extends TableActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
A customized action bar for the table renderer.- Since:
- 1.18
- Author:
- Mat Hansen
-
-
Constructor Summary
Constructors Constructor Description TableRendererActionBar(TableRendererViewerActionContext context, ActionConfiguration configuration, ViewModelContext viewModelContext)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addControl(java.lang.String id, org.eclipse.swt.widgets.Control control)
Add a control to the action bar.void
fillComposite(org.eclipse.swt.widgets.Composite composite, org.eclipse.jface.viewers.AbstractTableViewer viewer)
This method is called to fill the givenComposite
with action controls.-
Methods inherited from class org.eclipse.emfforms.spi.swt.table.action.TableActionBar
applyLayout, getActionCount, getActions, getControlById, getControlCount, updateActionBar
-
-
-
-
Constructor Detail
-
TableRendererActionBar
public TableRendererActionBar(TableRendererViewerActionContext context, ActionConfiguration configuration, ViewModelContext viewModelContext)
The constructor.- Parameters:
context
- theViewerActionContext
to useconfiguration
- theActionConfiguration
to useviewModelContext
- theViewModelContext
-
-
Method Detail
-
fillComposite
public void fillComposite(org.eclipse.swt.widgets.Composite composite, org.eclipse.jface.viewers.AbstractTableViewer viewer)
Description copied from interface:ActionBar
This method is called to fill the givenComposite
with action controls.- Specified by:
fillComposite
in interfaceActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
- Overrides:
fillComposite
in classTableActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
- Parameters:
composite
- the compositeviewer
- theAbstractTableViewer
-
addControl
public void addControl(java.lang.String id, org.eclipse.swt.widgets.Control control)
Description copied from class:TableActionBar
Add a control to the action bar.- Overrides:
addControl
in classTableActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
- Parameters:
id
- the ID of the control (typically the same as the ID of the bound action)control
- the control instance
-
-