Project

General

Profile

Revision 799a6449

ID799a6449d4333fc27300ae76ba696af133b070b1
Parent 5b6653af
Child a5a9fcde

Added by Patrick Plitzner almost 4 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

Add picture from clipboard (Maximum size: 40 MB)