cleanup
authorAndreas Müller <a.mueller@bgbm.org>
Wed, 31 Mar 2021 20:57:40 +0000 (22:57 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Wed, 31 Mar 2021 23:05:45 +0000 (01:05 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/CdmViewerChooser.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/CdmViewerContextMenuE4.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/CdmViewerUtilE4.java

index e0031327fbe6eadc717671d4ac3a3c5877f2145b..f2a880937cd1727f1d79673518f0796518f1eefc 100644 (file)
@@ -69,7 +69,7 @@ public class CdmViewerChooser extends PopupDialog implements ISelectionChangedLi
     }
 
     /**
-     * Opens a popup dialog with all possible viewers for the given input.
+     * Opens a pop-up dialog with all possible viewers for the given input.
      * @param input the input for which the viewers are listed
      */
     public void chooseViewer(Object input){
@@ -112,7 +112,7 @@ public class CdmViewerChooser extends PopupDialog implements ISelectionChangedLi
                            //build the parameterized command
                            ParameterizedCommand pc = ParameterizedCommand.generateCommand(command, params);
 
-                IHandlerService handlerService = (IHandlerService)PlatformUI.getWorkbench().getService(IHandlerService.class);
+                IHandlerService handlerService = PlatformUI.getWorkbench().getService(IHandlerService.class);
                 try {
                     if(pc!=null){
                         handlerService.executeCommand(pc, null);
index 0391d0629084aa335f05fe925f15d6e7568019a3..3b0a74be46935b4ffa1273e4f7834971535a18a7 100644 (file)
@@ -1,3 +1,11 @@
+/**
+ * Copyright (C) 2015 EDIT
+ * European Distributed Institute of Taxonomy
+ * http://www.e-taxonomy.eu
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * See LICENSE.TXT at the top of this package for the full license terms.
+ */
 package eu.etaxonomy.taxeditor.view;
 
 import java.util.List;
@@ -30,7 +38,6 @@ import eu.etaxonomy.taxeditor.model.FeatureNodeContainer;
 
 /**
  * Generic context menu for opening elements in the taxeditor.
- *
  */
 public class CdmViewerContextMenuE4 {
 
index 4c4f86bfb524e8a736977e95be7720118dba02dc..debfef4c1b8fd87fc390c9db2f2797313f7586d3 100644 (file)
@@ -27,7 +27,6 @@ import eu.etaxonomy.taxeditor.store.CdmStore;
  * Scans eu.etaxonomy.taxeditor.store.cdmViewer extension point.
  * @author pplitzner
  * @date Jul 7, 2015
- *
  */
 public class CdmViewerUtilE4 {