]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/ManageBundlesHandler.java
Add support for combo box in editing parameters.
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / commands / ManageBundlesHandler.java
index 81b109074e184e813fdce440f201112168962068..8d916dfaa37a49710312009f5d470e0bd6a13f4a 100644 (file)
@@ -7,7 +7,6 @@ import org.eclipse.core.commands.AbstractHandler;
 import org.eclipse.core.commands.ExecutionEvent;\r
 import org.eclipse.core.commands.ExecutionException;\r
 import org.eclipse.jface.dialogs.TitleAreaDialog;\r
-import org.eclipse.swt.widgets.DirectoryDialog;\r
 import org.eclipse.swt.widgets.Shell;\r
 \r
 /**\r
@@ -35,14 +34,15 @@ public class ManageBundlesHandler extends AbstractHandler {
                tad.setTitle("Manage Bundles");\r
                tad.open();\r
 \r
-               DirectoryDialog dialog2 = new DirectoryDialog(shell);\r
-               String path = dialog2.open();\r
-\r
-               if (path == null)\r
-                       // action canceled by user\r
-                       return null;\r
-               log.debug("Path chosen by user : " + path);\r
-\r
+               \r
+               // RCP Specific, commented for now.\r
+               // DirectoryDialog dialog2 = new DirectoryDialog(shell);\r
+               // String path = dialog2.open();\r
+               //\r
+               // if (path == null)\r
+               // // action canceled by user\r
+               // return null;\r
+               // log.debug("Path chosen by user : " + path);\r
                \r
                // the following does not work : it doesn't display anything.\r
                // Label label = new Label(shell, SWT.WRAP);\r