01: /*
02: * MenuFactory.java
03: *
04: * Created on January 24, 2004, 1:06 AM
05: */
06:
07: package org.netbeans.actions.engine.spi;
08:
09: import java.util.Map;
10: import javax.swing.JMenu;
11: import javax.swing.JPopupMenu;
12:
13: /** Factory for producing real menus given a container context name. It
14: * will look up the contents on the ActionProvider, and produce a menu
15: * from the result.
16: *
17: * @author Tim Boudreau
18: */
19: public interface MenuFactory {
20: public JMenu createMenu(String containerContext);
21:
22: public void update(String containerContext);
23: }
|