Project

General

Profile

Revision 238ef41a

ID238ef41a452489682c99b2d0e808e5586c7d6b95
Parent 06c08a41

Added by Patrick Plitzner about 1 year ago

ref #7887 Fix showViewer() for details view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java
234 234
                else if(element instanceof TermVocabularyDto){
235 235
                    element = CdmStore.getService(IVocabularyService.class).load(((TermVocabularyDto) element).getUuid());
236 236
                }
237
                ((DetailsViewerE4)viewer).setInput(element, part);
238 237
                if (viewer instanceof DetailsViewerE4){
238
                    ((DetailsViewerE4)viewer).setInput(element, part);
239 239
                    ((DetailsViewerE4)viewer).setDetailsEnabled(true);
240 240
                }
241
                else{
242
                    viewer.setInput(element);
243
                }
241 244
                selectionProvidingPart = activePart;
242 245
            }
243 246
        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)