Author: snjeza
Date: 2012-10-18 12:43:58 -0400 (Thu, 18 Oct 2012)
New Revision: 44583
Modified:
branches/jbosstools-4.0.0.Beta1/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
Log:
JBIDE-12716 - Remove button does not work properly
Modified:
branches/jbosstools-4.0.0.Beta1/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
===================================================================
---
branches/jbosstools-4.0.0.Beta1/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java 2012-10-18
16:42:17 UTC (rev 44582)
+++
branches/jbosstools-4.0.0.Beta1/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java 2012-10-18
16:43:58 UTC (rev 44583)
@@ -420,6 +420,8 @@
newRuntimePaths[i++] = path;
}
runtimePaths = newRuntimePaths;
+ RuntimeUIActivator.getDefault().getModel().setRuntimePaths(runtimePaths);
+ RuntimeUIActivator.getDefault().saveRuntimePreferences();
runtimePathViewer.setInput(runtimePaths);
configureSearch();
runtimePathViewer.refresh();
@@ -457,6 +459,8 @@
runtimePath = runtimePathClone;
l.add(runtimePath);
runtimePaths = (RuntimePath[]) l.toArray(new RuntimePath[l.size()]);
+ RuntimeUIActivator.getDefault().getModel().setRuntimePaths(runtimePaths);
+ RuntimeUIActivator.getDefault().saveRuntimePreferences();
configureSearch();
runtimePathViewer.refresh();
}
Show replies by date