de.cau.cs.kieler.sim.kiem
Interface IKiemToolbarContributor

All Known Implementing Classes:
ContributionsProvider, ToolbarContributor

public interface IKiemToolbarContributor

Classes implementing this interface may be asked if they want to contribute controls to the toolbar inside the KIEM View.

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.

Rating proposed yellow
(2010-02-03)

Method Summary
 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.
 

Method Detail

provideToolbarContributions

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.

Parameters:
info - may hold some information.
Returns:
the list of controls that should be contributed.

provideToolbarActions

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.

Parameters:
info - may hold some information.
Returns:
the list of controls that should be contributed.