01: package org.osbl.client.wings.shell;
02:
03: import java.util.List;
04: import javax.swing.Action;
05:
06: /**
07: * Interface which must be implemented by components that want to display controls in the actionbar.
08: * Basically, they must return a list of controls; those controls will appear in the actionbar.
09: *
10: * @author leon
11: */
12: public interface ButtonsProvider {
13:
14: /**
15: * Returns a list of <code>javax.swing.Action</code>s which will appear in the actionbar.
16: * The list may also contain null elements, which will be rendered as spacers.
17: *
18: * @return a list of <code>javax.swing.Action</code>s which will appear in the actionbar.
19: */
20: public List<Action> getActions();
21: }
|