Revision cf2f4360
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java | ||
---|---|---|
595 | 595 |
|
596 | 596 |
DerivedUnitGeneralDetailSection derivedUnitGeneralDetailSection = formFactory.createDerivedUnitGeneralDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); |
597 | 597 |
//TODO for DerivateEditor do not use facade anymore to avoid this special case handling #4539 |
598 |
if(!(AbstractUtility.getActiveE4Part() instanceof IDerivedUnitFacadePart)){
|
|
598 |
if(!(AbstractUtility.getActivePart() instanceof IDerivedUnitFacadePart)){ |
|
599 | 599 |
derivedUnitGeneralDetailSection.setShowOnlyDerivedUnitData(true); |
600 | 600 |
} |
601 | 601 |
addPart(derivedUnitGeneralDetailSection); |
... | ... | |
606 | 606 |
addPart(derivedUnitBaseDetailSection); |
607 | 607 |
|
608 | 608 |
//for editors working with facades |
609 |
if(AbstractUtility.getActiveE4Part() instanceof IDerivedUnitFacadePart){
|
|
609 |
if(AbstractUtility.getActivePart() instanceof IDerivedUnitFacadePart){ |
|
610 | 610 |
formFactory.createHorizontalSeparator(parent, SWT.BORDER); |
611 | 611 |
GatheringEventDetailSection gatheringEventDetailSection = formFactory.createGatheringEventDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE); |
612 | 612 |
addPart(gatheringEventDetailSection); |
Also available in: Unified diff
ref #6925 Migrate getActivePart()