JAL-2089 patch broken merge to master for Release 2.10.0b1
[jalview.git] / src / jalview / ws / uimodel / AlignAnalysisUIText.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3  * Copyright (C) $$Year-Rel$$ The Jalview Authors
4  * 
5  * This file is part of Jalview.
6  * 
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.
11  *  
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.
16  * 
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.
20  */
21 package jalview.ws.uimodel;
22
23 public class AlignAnalysisUIText
24 {
25
26   private String serviceType;
27
28   public String getServiceType()
29   {
30     return serviceType;
31   }
32
33   private Class client;
34
35   private String calcId;
36
37   public String getCalcId()
38   {
39     return calcId;
40   }
41
42   private String AAconToggle, AAconToggleTooltip, AAeditSettings,
43           AAeditSettingsTooltip;
44
45   private boolean isNa;
46
47   public boolean isNa()
48   {
49     return isNa;
50   }
51
52   public boolean isPr()
53   {
54     return isPr;
55   }
56
57   public boolean isAA()
58   {
59     return isAA;
60   }
61
62   private boolean isPr;
63
64   private boolean isAA;
65
66   public AlignAnalysisUIText(String serviceType, Class<?> client,
67           String calcId, boolean acceptNucl, boolean acceptProt,
68           boolean acceptGaps, String toggle, String toggleTooltip,
69           String settings, String settingsTooltip)
70   {
71     this.serviceType = serviceType;
72     this.calcId = calcId;
73     isNa = acceptNucl;
74     isPr = acceptProt;
75     isAA = acceptGaps;
76     this.client = client;
77     this.AAconToggle = toggle;
78     this.AAconToggleTooltip = toggleTooltip;
79     this.AAeditSettings = settings;
80     this.AAeditSettingsTooltip = settingsTooltip;
81   }
82
83   public Class getClient()
84   {
85     return client;
86   }
87
88   public void setClient(Class client)
89   {
90     this.client = client;
91   }
92
93   public String getAAconToggle()
94   {
95     return AAconToggle;
96   }
97
98   public void setAAconToggle(String aAconToggle)
99   {
100     AAconToggle = aAconToggle;
101   }
102
103   public String getAAconToggleTooltip()
104   {
105     return AAconToggleTooltip;
106   }
107
108   public void setAAconToggleTooltip(String aAconToggleTooltip)
109   {
110     AAconToggleTooltip = aAconToggleTooltip;
111   }
112
113   public String getAAeditSettings()
114   {
115     return AAeditSettings;
116   }
117
118   public void setAAeditSettings(String aAeditSettings)
119   {
120     AAeditSettings = aAeditSettings;
121   }
122
123   public String getAAeditSettingsTooltip()
124   {
125     return AAeditSettingsTooltip;
126   }
127
128   public void setAAeditSettingsTooltip(String aAeditSettingsTooltip)
129   {
130     AAeditSettingsTooltip = aAeditSettingsTooltip;
131   }
132
133 }