Author: snjeza
Date: 2012-09-13 10:21:25 -0400 (Thu, 13 Sep 2012)
New Revision: 43651
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
Log:
JBIDE-12607 - Add button in Runtime Detection preference page doesn't work
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
===================================================================
---
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java 2012-09-13
14:18:02 UTC (rev 43650)
+++
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java 2012-09-13
14:21:25 UTC (rev 43651)
@@ -395,8 +395,11 @@
RuntimeUIActivator.launchSearchRuntimePathDialog(getShell(),
new RuntimePath[]{runtimePath}, true, 15);
configureSearch();
+ RuntimeUIActivator.getDefault().getModel().addRuntimePath(runtimePath);
+ runtimePaths = RuntimeUIActivator.getRuntimePaths();
runtimePathViewer.setInput(runtimePath.getRuntimeDefinitions());
runtimePathViewer.refresh();
+
}
private void removedPressed() {
Show replies by date