JAL-1365 new metadata class to describe instantaneous calculation services like AACon...
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Wed, 25 Sep 2013 15:17:07 +0000 (16:17 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Wed, 25 Sep 2013 15:17:07 +0000 (16:17 +0100)
src/jalview/ws/uimodel/AlignAnalysisUIText.java [new file with mode: 0644]

diff --git a/src/jalview/ws/uimodel/AlignAnalysisUIText.java b/src/jalview/ws/uimodel/AlignAnalysisUIText.java
new file mode 100644 (file)
index 0000000..0d018a3
--- /dev/null
@@ -0,0 +1,115 @@
+package jalview.ws.uimodel;
+
+import java.util.HashMap;
+
+public class AlignAnalysisUIText
+{
+
+  private String serviceType;
+
+  public String getServiceType()
+  {
+    return serviceType;
+  }
+
+  private Class client;
+
+  private String calcId;
+
+  public String getCalcId()
+  {
+    return calcId;
+  }
+
+  private String AAconToggle, AAconToggleTooltip, AAeditSettings,
+          AAeditSettingsTooltip;
+
+  private boolean isNa;
+
+  public boolean isNa()
+  {
+    return isNa;
+  }
+
+  public boolean isPr()
+  {
+    return isPr;
+  }
+
+  public boolean isAA()
+  {
+    return isAA;
+  }
+
+  private boolean isPr;
+
+  private boolean isAA;
+
+  public AlignAnalysisUIText(String serviceType, Class<?> client,
+          String calcId, boolean acceptNucl, boolean acceptProt,
+          boolean acceptGaps, String toggle, String toggleTooltip,
+          String settings, String settingsTooltip)
+  {
+    this.serviceType = serviceType;
+    this.calcId = calcId;
+    isNa = acceptNucl;
+    isPr = acceptProt;
+    isAA = acceptGaps;
+    this.client = client;
+    this.AAconToggle = toggle;
+    this.AAconToggleTooltip = toggleTooltip;
+    this.AAeditSettings = settings;
+    this.AAeditSettingsTooltip = settingsTooltip;
+  }
+
+  public Class getClient()
+  {
+    return client;
+  }
+
+  public void setClient(Class client)
+  {
+    this.client = client;
+  }
+
+  public String getAAconToggle()
+  {
+    return AAconToggle;
+  }
+
+  public void setAAconToggle(String aAconToggle)
+  {
+    AAconToggle = aAconToggle;
+  }
+
+  public String getAAconToggleTooltip()
+  {
+    return AAconToggleTooltip;
+  }
+
+  public void setAAconToggleTooltip(String aAconToggleTooltip)
+  {
+    AAconToggleTooltip = aAconToggleTooltip;
+  }
+
+  public String getAAeditSettings()
+  {
+    return AAeditSettings;
+  }
+
+  public void setAAeditSettings(String aAeditSettings)
+  {
+    AAeditSettings = aAeditSettings;
+  }
+
+  public String getAAeditSettingsTooltip()
+  {
+    return AAeditSettingsTooltip;
+  }
+
+  public void setAAeditSettingsTooltip(String aAeditSettingsTooltip)
+  {
+    AAeditSettingsTooltip = aAeditSettingsTooltip;
+  }
+
+}
\ No newline at end of file