Revision afe3c62f
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java | ||
---|---|---|
147 | 147 |
} |
148 | 148 |
} |
149 | 149 |
} |
150 |
if(object!=null){ |
|
151 |
createPartTitle(object); |
|
152 |
} |
|
153 |
} |
|
154 |
|
|
155 |
protected void createPartTitle(Object selectedObject){ |
|
156 |
if(thisPart!=null){ |
|
157 |
if(selectedObject!=null){ |
|
158 |
thisPart.setLabel(getViewName()+": "+selectedObject); //$NON-NLS-1$ |
|
159 |
} |
|
160 |
else{ |
|
161 |
thisPart.setLabel(getViewName()); |
|
162 |
} |
|
163 |
} |
|
164 | 150 |
} |
165 | 151 |
|
166 | 152 |
public Viewer getViewer() { |
... | ... | |
196 | 182 |
} |
197 | 183 |
viewer.setInput(element); |
198 | 184 |
|
199 |
createPartTitle(element); |
|
200 |
|
|
201 | 185 |
} |
202 | 186 |
selectionProvidingPart = activePart; |
203 | 187 |
} |
Also available in: Unified diff
ref #6925 Remove label update depending on selection input