summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2011-10-03 19:30:58 (EDT)
committerRoberto E. Escobar2011-10-03 19:30:58 (EDT)
commit3ac348691cd56527aedb6dd1eb22458bf16cb0c3 (patch)
tree3f0b77c1b4e43f3cfc5fbe533db8b28654ad4c51
parenteff0bb3d1d748468c5beefceb91f088d8fa44630 (diff)
downloadorg.eclipse.osee-3ac348691cd56527aedb6dd1eb22458bf16cb0c3.zip
org.eclipse.osee-3ac348691cd56527aedb6dd1eb22458bf16cb0c3.tar.gz
org.eclipse.osee-3ac348691cd56527aedb6dd1eb22458bf16cb0c3.tar.bz2
bug: Sort BlamContributionManager extensions to fix tests
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamContributionManager.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamContributionManager.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamContributionManager.java
index 1af1d66..20b5aab 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamContributionManager.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamContributionManager.java
@@ -36,10 +36,6 @@ public class BlamContributionManager implements IXNavigateCommonItem {
private static TreeMap<String, AbstractBlam> blams;
public static Map<String, AbstractBlam> getBlamMap() {
- return blams;
- }
-
- public static Collection<AbstractBlam> getBlamOperations() {
if (blams == null) {
ExtensionDefinedObjects<AbstractBlam> definedObjects =
new ExtensionDefinedObjects<AbstractBlam>("org.eclipse.osee.framework.ui.skynet.BlamOperation",
@@ -49,7 +45,11 @@ public class BlamContributionManager implements IXNavigateCommonItem {
blams.put(blam.getName(), blam);
}
}
- return blams.values();
+ return blams;
+ }
+
+ public static Collection<AbstractBlam> getBlamOperations() {
+ return getBlamMap().values();
}
private static void createCategories(String[] categoryElements, int index, XNavigateItem parentItem, Map<String, XNavigateItem> nameToParent) throws OseeCoreException {