]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/runtime/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/commands/ResultDetailsDisplayHandler.java
fix bug on excel to insure multi-os compatibility
[gpl/argeo-slc.git] / eclipse / plugins / runtime / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / commands / ResultDetailsDisplayHandler.java
index fc82ddaafd9152e5ca44bf9f7a512877c7b338e5..aa434607292c559fabc5ff6fe730613501503d15 100644 (file)
@@ -1,11 +1,9 @@
 package org.argeo.slc.client.ui.commands;
 
 import org.argeo.slc.client.ui.views.ResultDetailView;
-import org.argeo.slc.client.ui.views.ResultListView;
 import org.eclipse.core.commands.AbstractHandler;
 import org.eclipse.core.commands.ExecutionEvent;
 import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.ui.PartInitException;
 import org.eclipse.ui.handlers.HandlerUtil;
 
 /**
@@ -28,18 +26,18 @@ public class ResultDetailsDisplayHandler extends AbstractHandler {
                                .getParameter("org.argeo.slc.client.commands.resultUuid");
 
                // TODO : remove this.
-               if (uuid == null || "".equals(uuid)) {
-                       try {
-                               ResultListView pbv = (ResultListView) HandlerUtil
-                                               .getActiveWorkbenchWindow(event).getActivePage()
-                                               .showView(ResultListView.ID);
-                               uuid = pbv.getSelectedResult()[0];
-                       } catch (PartInitException e) {
-                               // TODO Auto-generated catch block
-                               e.printStackTrace();
-                       }
-
-               }
+               // if (uuid == null || "".equals(uuid)) {
+               // try {
+               // ResultListView pbv = (ResultListView) HandlerUtil
+               // .getActiveWorkbenchWindow(event).getActivePage()
+               // .showView(ResultListView.ID);
+               // uuid = pbv.getSelectedResult()[0];
+               // } catch (PartInitException e) {
+               // // TODO Auto-generated catch block
+               // e.printStackTrace();
+               // }
+               //
+               // }
 
                // mode = 2 : VIEW_VISIBLE, Show view mode that indicates the view
                // should be created or made visible if already created .