new interface
[jalview.git] / src / jalview / ws / WSMenuEntryProviderI.java
1 package jalview.ws;
2
3 import jalview.gui.AlignFrame;
4
5 import javax.swing.JMenu;
6
7 public interface WSMenuEntryProviderI
8 {
9   /**
10    * Called by the AlignFrame web service menu constructor to enable a service
11    * instance to add menu entries.
12    * 
13    * @param wsmenu
14    *          the menu to which any menu entries/sub menus are to be attached
15    * @param alignFrame
16    *          the alignFrame instance that provides input data for the service
17    */
18   public void attachWSMenuEntry(JMenu wsmenu, final AlignFrame alignFrame);
19 }