V
- the viewer typepublic interface ActionBar<V extends org.eclipse.jface.viewers.Viewer>
Modifier and Type | Method and Description |
---|---|
void |
fillComposite(org.eclipse.swt.widgets.Composite composite,
V viewer)
This method is called to fill the given
Composite with action controls. |
int |
getActionCount()
Get the number of currently registered actions.
|
Optional<org.eclipse.swt.widgets.Control> |
getControlById(String id)
Get a control by its action ID.
|
int |
getControlCount()
Get the number of currently registered controls.
|
void |
updateActionBar()
Updates the controls of this action bar.
|
void fillComposite(org.eclipse.swt.widgets.Composite composite, V viewer)
Composite
with action controls.composite
- the compositeviewer
- the AbstractTableViewer
void updateActionBar()
Optional<org.eclipse.swt.widgets.Control> getControlById(String id)
id
- the action ID to get the control forint getControlCount()
int getActionCount()
Copyright © 2019. All rights reserved.