01: package org.osbl.client.action;
02:
03: import javax.swing.Action;
04:
05: /**
06: * @author hengels
07: * @version $Revision$
08: */
09: public class StaticActionProvider implements ActionProvider {
10: public static final ActionProvider INSTANCE = new StaticActionProvider();
11:
12: private StaticActionProvider() {
13: }
14:
15: public Action getAction(String name) {
16: return ActionRegistry.getAction(name);
17: }
18:
19: public Action configure(Action action) {
20: return action;
21: }
22: }
|