2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
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/>.
22 public abstract class WSClient // implements WSMenuEntryProviderI
25 * WSClient holds the basic attributes that are displayed to the user for all
26 * jalview web service clients
29 * displayed name for this web service
31 protected String WebServiceName;
34 * specific job title (e.g. 'ClustalW Alignment of Selection from Aligment
35 * from Cut and Paste input')
37 protected String WebServiceJobTitle;
40 * String giving additional information such as method citations for this
43 protected String WebServiceReference;
48 protected String WsURL;
51 * Web service information used to initialise the WSClient attributes
53 protected WebserviceInfo wsInfo;
56 * total number of jobs managed by this web service client instance.
61 * TODO: this is really service metadata, and should be moved elsewhere.
62 * mappings between abstract interface names and menu entries
64 protected java.util.Hashtable ServiceActions;
66 ServiceActions = new java.util.Hashtable();
67 ServiceActions.put("MsaWS", "Multiple Sequence Alignment");
68 ServiceActions.put("SecStrPred", "Secondary Structure Prediction");