Revision eaef7aa9
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsPartE4.java | ||
---|---|---|
26 | 26 |
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails; |
27 | 27 |
import eu.etaxonomy.taxeditor.model.IPartContentHasSupplementalData; |
28 | 28 |
import eu.etaxonomy.taxeditor.view.e4.AbstractCdmEditorPartE4; |
29 |
import eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4; |
|
29 | 30 |
import eu.etaxonomy.taxeditor.workbench.part.ISelectionElementEditingPart; |
30 | 31 |
|
31 | 32 |
/** |
... | ... | |
59 | 60 |
} |
60 | 61 |
|
61 | 62 |
Object partObject = createPartObject(activePart); |
63 |
if (partObject instanceof SupplementalDataPartE4) { |
|
64 |
// do not show empty page |
|
65 |
return; |
|
66 |
} |
|
62 | 67 |
|
63 | 68 |
if(partObject instanceof IPartContentHasDetails){ |
64 | 69 |
IStructuredSelection structuredSelection = createSelection(selection); |
Also available in: Unified diff
ref #7073: keep the details view when clicking on supplemental data