|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.menus.AbstractContributionFactory
de.cau.cs.kieler.sim.kiem.automated.ui.extension.ToolbarContributor
public class ToolbarContributor
The toolbar contributor is responsible for providing the wizardAction that is added to the toolbar of the KIEM. It also creates the wizardAction that is added to the toolbar of the view.
Constructor Summary | |
---|---|
ToolbarContributor()
Creates a new ToolbarContributor. |
Method Summary | |
---|---|
void |
createContributionItems(IServiceLocator serviceLocator,
IContributionRoot additions)
|
Action[] |
provideToolbarActions(Object info)
The plugin will add the components from left to right in the order that the contributors are stored in the extension registry. |
ControlContribution[] |
provideToolbarContributions(Object info)
The plugin will add the components from left to right in the order that the contributors are stored in the extension registry. |
Methods inherited from class org.eclipse.ui.menus.AbstractContributionFactory |
---|
getLocation, getNamespace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolbarContributor()
Method Detail |
---|
public ControlContribution[] provideToolbarContributions(Object info)
The plugin will add the components from left to right in the order that the contributors are stored in the extension registry. KIEM's own controls will be added after the contributed components have been added.
The array should contain the components in the order that they are supposed to be added, null values will be ignored.
provideToolbarContributions
in interface IKiemToolbarContributor
info
- may hold some information.
public Action[] provideToolbarActions(Object info)
The plugin will add the components from left to right in the order that the contributors are stored in the extension registry. KIEM's own controls will be added after the contributed components have been added.
The array should contain the components in the order that they are supposed to be added, null values will be ignored.
provideToolbarActions
in interface IKiemToolbarContributor
info
- may hold some information.
public void createContributionItems(IServiceLocator serviceLocator, IContributionRoot additions)
createContributionItems
in class AbstractContributionFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |