Project

General

Profile

« Previous | Next » 

Revision 80379c19

Added by Katja Luther almost 5 years ago

mend

display of status in drop down according to preference

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java
229 229
                }
230 230

  
231 231
                selectionProvidingPart = activePart;
232

  
232 233
                if (viewer instanceof DetailsViewerE4){
233 234
                    ((DetailsViewerE4)viewer).setInput(element, part);
234 235
                    if (!selectionProvidingPart.getElementId().equals("eu.etaxonomy.taxeditor.editor.view.checklist.e4.DistributionEditorPart")){
......
238 239
                }
239 240

  
240 241
                else{
241
                    if (activePart.getObject() instanceof DetailsPartE4 && element instanceof TaxonName){
242
                    if (activePart.getObject() instanceof DetailsPartE4 && element instanceof TaxonName ){
242 243
                        selectionProvidingPart = ((DetailsPartE4)activePart.getObject()).getSelectionProvidingPart();
243 244
                    }
244 245
                    viewer.setInput(element);
245 246
                }
247

  
246 248
            }
247 249
        }
248 250
    }

Also available in: Unified diff