JAL-853 use service action attribute to index services in webservices menu and hardwi...
[jalview.git] / src / jalview / ws / rest / RestClient.java
index 606d927..ac4f44e 100644 (file)
@@ -5,6 +5,7 @@ package jalview.ws.rest;
 
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
+import java.util.Collection;
 import java.util.Hashtable;
 
 import javax.swing.JMenu;
@@ -340,4 +341,14 @@ public class RestClient extends WSClient implements WSClientI,
     return true;
   }
 
+  public static RestClient[] getRestClients()
+  {
+    return new RestClient[] { makeShmmrRestClient() };
+  }
+
+  public String getAction()
+  {
+    return service.details.Action;
+  }
+
 }