Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2009-02-12 19:20:44 +0000
committerddunne2009-02-12 19:20:44 +0000
commit0908c7050f704fefd2eb141463341fb2bb57d9a0 (patch)
treeb46fc5f8667f86a42a474161f969474e2e560b7a
parentf30a851e70e2999b134d76e6146a668c187e5ed8 (diff)
downloadorg.eclipse.osee-0908c7050f704fefd2eb141463341fb2bb57d9a0.tar.gz
org.eclipse.osee-0908c7050f704fefd2eb141463341fb2bb57d9a0.tar.xz
org.eclipse.osee-0908c7050f704fefd2eb141463341fb2bb57d9a0.zip
-rw-r--r--org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java7
-rw-r--r--org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSAttributes.java3
2 files changed, 8 insertions, 2 deletions
diff --git a/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java b/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java
index 67ed89bd680..67f8e6d7ecf 100644
--- a/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java
+++ b/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/wizard/NewActionPage2.java
@@ -36,6 +36,7 @@ import org.eclipse.swt.widgets.Listener;
public class NewActionPage2 extends WizardPage {
private WorkPage page;
private final NewActionWizard wizard;
+ private boolean debugPopulated = false;
/**
* @param wizard -
@@ -50,7 +51,9 @@ public class NewActionPage2 extends WizardPage {
public void setVisible(boolean visible) {
super.setVisible(visible);
if (wizard.getInitialDescription() != null && ((XText) getXWidget("Description")).get().equals("")) ((XText) getXWidget("Description")).set(wizard.getInitialDescription());
- if (wizard.isTTAction()) handlePopulateWithDebugInfo();
+ if (wizard.isTTAction()) {
+ handlePopulateWithDebugInfo();
+ }
wizard.createPage3IfNecessary();
((XText) getXWidget("Description")).getStyledText().setFocus();
}
@@ -99,11 +102,13 @@ public class NewActionPage2 extends WizardPage {
}
public void handlePopulateWithDebugInfo() {
+ if (debugPopulated) return;
((XText) getXWidget("Description")).set("See title");
// Must use skynet attribute name cause these widget uses the OPTIONS_FROM_ATTRIBUTE_VALIDITY
((XList) getXWidget("ats.User Community")).setSelected("Other");
((XCombo) getXWidget("ats.Priority")).set("4");
((XCombo) getXWidget("ats.Change Type")).set("Improvement");
+ debugPopulated = true;
}
public void update() {
diff --git a/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSAttributes.java b/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSAttributes.java
index e9883cdb2d0..72a7b070b9f 100644
--- a/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSAttributes.java
+++ b/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSAttributes.java
@@ -47,7 +47,8 @@ public class ATSAttributes {
"If selected, originator will be asked to validate the implementation.");
public static final ATSAttributes ACTIVE_ATTRIBUTE = new ATSAttributes("Active", "Active ATS configuration object.");
public static final ATSAttributes LOG_ATTRIBUTE = new ATSAttributes("Log");
- public static final ATSAttributes LOCATION_ATTRIBUTE = new ATSAttributes("Location");
+ public static final ATSAttributes LOCATION_ATTRIBUTE =
+ new ATSAttributes("Location", "Enter location of materials to review.");
public static final ATSAttributes REVIEW_DEFECT_ATTRIBUTE = new ATSAttributes("Review Defect");
public static final ATSAttributes STATE_NOTES_ATTRIBUTE = new ATSAttributes("State Notes");
public static final ATSAttributes ESTIMATED_HOURS_ATTRIBUTE =

Back to the top