2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5)
3 * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
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 of the License, or (at your option) any later version.
11 * Jalview is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
23 public abstract class WSClient // implements WSMenuEntryProviderI
26 * WSClient holds the basic attributes that are displayed to the user for all
27 * jalview web service clients
30 * displayed name for this web service
32 protected String WebServiceName;
35 * specific job title (e.g. 'ClustalW Alignment of Selection from Aligment
36 * from Cut and Paste input')
38 protected String WebServiceJobTitle;
41 * String giving additional information such as method citations for this
44 protected String WebServiceReference;
49 protected String WsURL;
52 * Web service information used to initialise the WSClient attributes
54 protected WebserviceInfo wsInfo;
57 * total number of jobs managed by this web service client instance.
62 * TODO: this is really service metadata, and should be moved elsewhere.
63 * mappings between abstract interface names and menu entries
65 protected java.util.Hashtable ServiceActions;
67 ServiceActions = new java.util.Hashtable();
68 ServiceActions.put("MsaWS", "Multiple Sequence Alignment");
69 ServiceActions.put("SecStrPred", "Secondary Structure Prediction");