public class TableRendererActionBar extends TableActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
Constructor and Description |
---|
TableRendererActionBar(TableRendererViewerActionContext context,
ActionConfiguration configuration,
ViewModelContext viewModelContext)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addControl(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 given
Composite with action controls. |
applyLayout, getActionCount, getActions, getControlById, getControlCount, updateActionBar
public TableRendererActionBar(TableRendererViewerActionContext context, ActionConfiguration configuration, ViewModelContext viewModelContext)
context
- the ViewerActionContext
to useconfiguration
- the ActionConfiguration
to useviewModelContext
- the ViewModelContext
public void fillComposite(org.eclipse.swt.widgets.Composite composite, org.eclipse.jface.viewers.AbstractTableViewer viewer)
ActionBar
Composite
with action controls.fillComposite
in interface ActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
fillComposite
in class TableActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
composite
- the compositeviewer
- the AbstractTableViewer
public void addControl(String id, org.eclipse.swt.widgets.Control control)
TableActionBar
addControl
in class TableActionBar<org.eclipse.jface.viewers.AbstractTableViewer>
id
- the ID of the control (typically the same as the ID of the bound action)control
- the control instanceCopyright © 2019. All rights reserved.