Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2012-08-16 17:06:38 +0000
committerRoberto E. Escobar2012-08-16 17:06:38 +0000
commit45e67e924e14480ac0f42c94da7d69da440f321c (patch)
treec911ca322fbdc4d1d81eb7389cf017d57dd2c7e2
parent580d24131679ca99e2c6045f5aea4b84c00561eb (diff)
downloadorg.eclipse.osee-45e67e924e14480ac0f42c94da7d69da440f321c.tar.gz
org.eclipse.osee-45e67e924e14480ac0f42c94da7d69da440f321c.tar.xz
org.eclipse.osee-45e67e924e14480ac0f42c94da7d69da440f321c.zip
feature: Add state completed/assignees columns to Goals
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java1
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java9
2 files changed, 8 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java
index 8980364ad2..0c10241b10 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java
@@ -94,6 +94,7 @@ public class GoalXViewerFactory extends SkynetXViewerFactory {
OseeLog.log(Activator.class, Level.SEVERE, ex);
}
registerAllAttributeColumns();
+ WorldXViewerFactory.registerStateColumns(this);
}
@Override
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java
index 60e2d108d6..f5868d987c 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java
@@ -13,6 +13,7 @@ package org.eclipse.osee.ats.world;
import java.util.logging.Level;
import org.eclipse.nebula.widgets.xviewer.XViewer;
import org.eclipse.nebula.widgets.xviewer.XViewerColumn;
+import org.eclipse.nebula.widgets.xviewer.XViewerFactory;
import org.eclipse.nebula.widgets.xviewer.XViewerSorter;
import org.eclipse.osee.ats.column.ActionableItemOwner;
import org.eclipse.osee.ats.column.ActionableItemsColumn;
@@ -240,11 +241,15 @@ public class WorldXViewerFactory extends SkynetXViewerFactory {
} catch (Exception ex) {
OseeLog.log(Activator.class, Level.SEVERE, ex);
}
+ registerStateColumns(this);
+ }
+
+ public static void registerStateColumns(XViewerFactory factory) {
for (String stateName : StateManager.getAllValidStateNames()) {
- registerColumns(new StateAssigneesColumn(stateName));
+ factory.registerColumns(new StateAssigneesColumn(stateName));
}
for (String stateName : StateManager.getAllValidStateNames()) {
- registerColumns(new StateCompletedColumn(stateName));
+ factory.registerColumns(new StateCompletedColumn(stateName));
}
}

Back to the top