ref #8585: remove not necessary method
authorKatja Luther <k.luther@bgbm.org>
Mon, 29 Jun 2020 11:52:20 +0000 (13:52 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 29 Jun 2020 11:52:20 +0000 (13:52 +0200)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/FactualDataPartE4.java

index ce1e3ec..6b36b52 100644 (file)
@@ -231,21 +231,6 @@ public class FactualDataPartE4 extends AbstractCdmEditorPartE4
         }
     }
 
-    @Inject
-    @Optional
-    private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_FACTS)Object element){
-
-        Object[] expandedObjects = ((TreeViewer)viewer).getExpandedElements();
-
-
-        viewer.refresh();
-        ((TreeViewer)viewer).collapseAll();
-        if (expandedObjects.length>0){
-            ((TreeViewer)viewer).setExpandedElements(expandedObjects);
-        }
-        ((TreeViewer)viewer).setExpandedState(element, true);
-
-    }
 
     @Inject
     @Optional