Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2014-06-05 15:30:31 -0400
committerAngel Avila2014-06-10 15:37:53 -0400
commit296e1843edd4efadd700217fed46ed7d86d2786d (patch)
tree0ffc32d180522fa46e2bf269c7ae73a14faf956c /plugins/org.eclipse.osee.disposition.rest.model
parentd3ccd25b3139f9e9ec4bed411c6c73501ff60960 (diff)
downloadorg.eclipse.osee-296e1843edd4efadd700217fed46ed7d86d2786d.tar.gz
org.eclipse.osee-296e1843edd4efadd700217fed46ed7d86d2786d.tar.xz
org.eclipse.osee-296e1843edd4efadd700217fed46ed7d86d2786d.zip
feature[ats_63072]: Add PCR Type selection to Dispo GUI
Diffstat (limited to 'plugins/org.eclipse.osee.disposition.rest.model')
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java
index aef456f6fd..ba9edbd07f 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java
@@ -133,7 +133,11 @@ public class DispoAnnotationData implements Identifiable<String> {
}
public boolean isValid() {
- return isConnected && isResolutionValid;
+ return isConnected && isResolutionValid && isResolutionTypeValid();
+ }
+
+ public boolean isResolutionTypeValid() {
+ return resolutionType != null && !resolutionType.equalsIgnoreCase("None") && !resolutionType.equalsIgnoreCase("null");
}
public void disconnect() {

Back to the top