summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2012-05-07 18:10:40 (EDT)
committer Roberto E. Escobar2012-05-07 18:10:40 (EDT)
commit90e7f73deb3c4a125b9256695d041e329a9648a6 (patch)
treeab4078b94f669572ab5ff7843b55a5e50bc54db1
parentefee86fb2fe95d7fc484d65dd94b3848ae37faa8 (diff)
downloadorg.eclipse.osee-90e7f73deb3c4a125b9256695d041e329a9648a6.zip
org.eclipse.osee-90e7f73deb3c4a125b9256695d041e329a9648a6.tar.gz
org.eclipse.osee-90e7f73deb3c4a125b9256695d041e329a9648a6.tar.bz2
feature: More storage changes
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/TaskConfiguration.java5
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/AbstractBlam.java1
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/TaskConfiguration.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/TaskConfiguration.java
index 053ce22..b41c96f 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/TaskConfiguration.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/TaskConfiguration.java
@@ -112,6 +112,11 @@ public class TaskConfiguration extends AbstractBlam {
getClass().getSimpleName(), version));
}
} else {
+ if (selectedTeamDefinition == null || selectedVersion == null) {
+ monitor.setCanceled(true);
+ throw new OseeStateException("Missing selections of selectedVersion and selectedTeamDefinition");
+ }
+
Artifact taskConfiguration =
ArtifactTypeManager.addArtifact(CoreArtifactTypes.UniversalGroup, version.getBranch(),
TASK_CONFIGURATION);
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/AbstractBlam.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/AbstractBlam.java
index 12cb4f7..7cea1f5 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/AbstractBlam.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/AbstractBlam.java
@@ -95,7 +95,6 @@ public abstract class AbstractBlam implements IDynamicWidgetLayoutListener {
* Example usage of VariableMap parameter:
*
* <pre>
- * ui:
* {@code
* <xWidgets>
* <XWidget xwidgetType="XComboWidget" displayName="Program1" />