ref #6925 Remove label update depending on selection input
authorPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 26 Sep 2017 14:10:23 +0000 (16:10 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 26 Sep 2017 14:10:23 +0000 (16:10 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java

index 0bff9d62009dec434ef396058b91884b4ae75189..7065d4affbd7429bf26681fffd2695524fd326a3 100644 (file)
@@ -147,20 +147,6 @@ public abstract class AbstractCdmEditorPartE4
                 }
             }
         }
-        if(object!=null){
-            createPartTitle(object);
-        }
-    }
-
-    protected void createPartTitle(Object selectedObject){
-        if(thisPart!=null){
-            if(selectedObject!=null){
-                thisPart.setLabel(getViewName()+": "+selectedObject); //$NON-NLS-1$
-            }
-            else{
-                thisPart.setLabel(getViewName());
-            }
-        }
     }
 
     public Viewer getViewer() {
@@ -196,8 +182,6 @@ public abstract class AbstractCdmEditorPartE4
                 }
                viewer.setInput(element);
 
-               createPartTitle(element);
-
             }
             selectionProvidingPart = activePart;
         }