Commenting out single click opening of name editor (ticket 4300)
authorCherian Mathew <c.mathew@bgbm.org>
Thu, 7 Aug 2014 14:44:12 +0000 (14:44 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Thu, 7 Aug 2014 14:44:12 +0000 (14:44 +0000)
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNavigator.java

index 3bc4a276c0259564ee8b9a9f40e6f70fb86924ea..24157b3bc3b1542e34a4ed820a9bf57d56d8b2c2 100644 (file)
@@ -83,21 +83,21 @@ public class TaxonNavigator extends CommonNavigator implements
                TaxonComparatorSearch comparator = new TaxonComparatorSearch();
                TaxonNodeComparator viewerComparator = new TaxonNodeComparator(comparator);
                this.getCommonViewer().setComparator(viewerComparator);
-               this.getCommonViewer().addSelectionChangedListener(new ISelectionChangedListener() {
-                       
-                       @Override
-                       public void selectionChanged(SelectionChangedEvent arg0) {
-                               IStructuredSelection selection = (IStructuredSelection) getCommonViewer().getSelection();
-                               
-                               Object firstElement =  selection.getFirstElement();
-                               //
-                               if (!(firstElement instanceof Classification)){
-                                       //NavigationUtil.selectInNavigator(firstElement, null);
-                                       NavigationUtil.openEditor(firstElement);
-                               }
-                               
-                       }
-               } );
+//             this.getCommonViewer().addSelectionChangedListener(new ISelectionChangedListener() {
+//                     
+//                     @Override
+//                     public void selectionChanged(SelectionChangedEvent arg0) {
+//                             IStructuredSelection selection = (IStructuredSelection) getCommonViewer().getSelection();
+//                             
+//                             Object firstElement =  selection.getFirstElement();
+//                             //
+//                             if (!(firstElement instanceof Classification)){
+//                                     //NavigationUtil.selectInNavigator(firstElement, null);
+//                                     NavigationUtil.openEditor(firstElement);
+//                             }
+//                             
+//                     }
+//             } );
                
                if (CdmStore.isActive()) {