Revision 27dcccfd
Added by Patrick Plitzner almost 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/ConceptViewPart.java | ||
---|---|---|
41 | 41 |
import eu.etaxonomy.taxeditor.view.AbstractCdmEditorViewPart; |
42 | 42 |
import eu.etaxonomy.taxeditor.view.detail.DetailsViewPart; |
43 | 43 |
import eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart; |
44 |
import eu.etaxonomy.taxeditor.workbench.WorkbenchUtility; |
|
44 | 45 |
|
45 | 46 |
/** |
46 | 47 |
* @author n.hoffmann |
... | ... | |
55 | 56 |
private ConceptRelationViewer viewer; |
56 | 57 |
|
57 | 58 |
@Override |
58 |
protected void selectionChanged_internal(IWorkbenchPart part, ISelection selection) {
|
|
59 |
protected void selectionChanged_internal(IWorkbenchPart workbenchPart, ISelection selection) {
|
|
59 | 60 |
if(part == this){ |
60 | 61 |
return; |
61 | 62 |
} |
63 |
Object part = workbenchPart; |
|
64 |
Object wrappedPart = WorkbenchUtility.getE4WrappedPart(part); |
|
65 |
if(wrappedPart!=null){ |
|
66 |
part = wrappedPart; |
|
67 |
} |
|
62 | 68 |
if(AbstractUtility.getActiveE4Editor() == null){ |
63 | 69 |
showEmptyPage(); |
64 | 70 |
return; |
Also available in: Unified diff
ref #6748 Unwrap E4 parts during selection change events