Revision da0bf48a
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/e4/ConceptViewPartE4.java | ||
---|---|---|
35 | 35 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
36 | 36 |
import eu.etaxonomy.taxeditor.editor.view.concept.ConceptContentProvider; |
37 | 37 |
import eu.etaxonomy.taxeditor.editor.view.concept.ConceptLabelProvider; |
38 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.e4.FactualDataPartE4; |
|
39 |
import eu.etaxonomy.taxeditor.editor.view.media.e4.MediaViewPartE4; |
|
38 | 40 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
39 | 41 |
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails; |
40 | 42 |
import eu.etaxonomy.taxeditor.model.IPartContentHasSupplementalData; |
... | ... | |
65 | 67 |
|
66 | 68 |
Object partObject = createPartObject(activePart); |
67 | 69 |
|
68 |
if (partObject instanceof DetailsPartE4 || partObject instanceof SupplementalDataPartE4) { |
|
70 |
if (partObject instanceof DetailsPartE4 || partObject instanceof SupplementalDataPartE4 |
|
71 |
|| partObject instanceof FactualDataPartE4|| partObject instanceof MediaViewPartE4) { |
|
69 | 72 |
// do not show empty page as these views are also used to edit the |
70 | 73 |
// description selected in this view |
71 | 74 |
return; |
Also available in: Unified diff
ref #6911, #6925 Clear views when selection providing editor is closed