- enhanced cdmViewer popup dialog
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / EditorCdmViewer.java
index 7a09476fa96fdc91d4fd888faf696d95c1df10e0..4a5b4ea8d189e8b47c7712d0163ceae89559b421 100644 (file)
@@ -31,15 +31,15 @@ public class EditorCdmViewer implements ICdmViewer {
      * @see eu.etaxonomy.taxeditor.view.ICdmViewer#show(java.lang.Object)
      */
     @Override
-    public void show(Object input, Class<?> viewerClass) {
+    public void show(Object input, String viewerClass) {
         try {
-            if(viewerClass.equals(MultiPageTaxonEditor.class)){
+            if(viewerClass.equals(MultiPageTaxonEditor.class.toString())){
                 if(input instanceof TaxonBase){
                     TaxonEditorInput editorInput = TaxonEditorInput.NewInstanceFromTaxonBase(((TaxonBase<?>) input).getUuid());
                     EditorUtil.open(editorInput);
                 }
             }
-            else if(viewerClass.equals(DerivateView.class)){
+            else if(viewerClass.equals(DerivateView.class.toString())){
                 if(input instanceof SpecimenOrObservationBase){
                 }
             }