Commit db144df9 authored by Alex McCaskey's avatar Alex McCaskey
Browse files

Fixing parameter setting bug in ICEExtensionContributionFactory



Fixing bug where Clone MOOSE action would clone to the users home
directory instead of the workspaces because the ICETests extension
specified the home directory, and that parameter was not reset. 
Signed-off-by: default avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 1fa35b00
......@@ -45,10 +45,10 @@
<command
commandName="Clone ICETests to user.home"
implementation="org.eclipse.ice.developer.actions.GitCloneHandler">
<parameter
<parameter
name="cloneDirectory"
value="@user.home">
</parameter>
</parameter>
</command>
</code>
</extension>
......
......@@ -106,11 +106,6 @@ public class ICEExtensionContributionFactory extends ExtensionContributionFactor
// Get the registry and the extensions
registry = Platform.getExtensionRegistry();
// Create the ICE Menu here so it's first in the list
//MenuManager ice = new MenuManager("ICE", "ICEID");
//categoryMenus.put("ICE", ice);
//developerMenu.add(ice);
// Create the category sub-menus
for (CodeCategory c : CodeCategory.values()) {
MenuManager manager = new MenuManager(c.name(), c.name() + "ID");
......@@ -160,8 +155,9 @@ public class ICEExtensionContributionFactory extends ExtensionContributionFactor
if (!"ICE".equals(codeName)) {
categoryMenus.get(category).add(codeMenu);
}
}
parameters.clear();
}
// Add the newly constructed developer menu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment