Project

General

Profile

« Previous | Next » 

Revision 799a6449

Added by Patrick Plitzner about 6 years ago

Fix icon for media derivative

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/derivateSearch/DerivateLabelProvider.java
378 378
                    }
379 379
                    return hasCharacterData?ImageResources.getImage(ImageResources.SPECIMEN_DERIVATE_CHARACTER_DATA):ImageResources.getImage(ImageResources.SPECIMEN_DERIVATE);
380 380
                }
381
                else if(derivedUnit.getRecordBasis().isKindOf(SpecimenOrObservationType.Media)){
381
                else if(derivedUnit.getRecordBasis().isMedia()
382
                        || derivedUnit.getRecordBasis().isKindOf(SpecimenOrObservationType.Media)){
382 383
                    if(derivedUnit.getKindOfUnit()!=null){
383 384
                        if(derivedUnit.getKindOfUnit().equals(getArtworkTerm())){
384 385
                            return hasCharacterData?ImageResources.getImage(ImageResources.ARTWORK_DERIVATE_CHARACTER_DATA):ImageResources.getImage(ImageResources.ARTWORK_DERIVATE);

Also available in: Unified diff