2 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3 * Copyright (C) $$Year-Rel$$ The Jalview Authors
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3
10 * of the License, or (at your option) any later version.
12 * Jalview is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19 * The Jalview Authors are detailed in the 'AUTHORS' file.
25 public abstract class WSClient // implements WSMenuEntryProviderI
28 * WSClient holds the basic attributes that are displayed to the user for all
29 * jalview web service clients
32 * displayed name for this web service
34 protected String WebServiceName;
37 * specific job title (e.g. 'ClustalW Alignment of Selection from Aligment
38 * from Cut and Paste input')
40 protected String WebServiceJobTitle;
43 * String giving additional information such as method citations for this
46 protected String WebServiceReference;
51 protected String WsURL;
54 * Web service information used to initialise the WSClient attributes
56 protected WebserviceInfo wsInfo;
59 * total number of jobs managed by this web service client instance.
64 * TODO: this is really service metadata, and should be moved elsewhere.
65 * mappings between abstract interface names and menu entries
67 protected java.util.Hashtable ServiceActions;
69 ServiceActions = new java.util.Hashtable();
70 ServiceActions.put("MsaWS", "Multiple Sequence Alignment");
71 ServiceActions.put("SecStrPred", "Secondary Structure Prediction");