From 9abf7aa279cedfeff9c8f4752ab911482485f059 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 25 Sep 2013 16:17:07 +0100 Subject: [PATCH] JAL-1365 new metadata class to describe instantaneous calculation services like AACon and RNAAliFold --- src/jalview/ws/uimodel/AlignAnalysisUIText.java | 115 +++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 src/jalview/ws/uimodel/AlignAnalysisUIText.java diff --git a/src/jalview/ws/uimodel/AlignAnalysisUIText.java b/src/jalview/ws/uimodel/AlignAnalysisUIText.java new file mode 100644 index 0000000..0d018a3 --- /dev/null +++ b/src/jalview/ws/uimodel/AlignAnalysisUIText.java @@ -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 -- 1.7.10.2