Project

General

Profile

« Previous | Next » 

Revision 8e5c42bf

Added by Katja Luther over 6 years ago

ref #7073: keep the details view when clicking on supplemental data

View differences:

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