String uuid = event
.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();
+ // }
+ //
+ // }
+
// mode = 2 : VIEW_VISIBLE, Show view mode that indicates the view
// should be created or made visible if already created .
// mode = 1 : VIEW_ACTIVATE, Show view mode that indicates the view