Revision daffb8de
Added by Andreas Kohlbecker about 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/media/MediaViewLabelProvider.java | ||
---|---|---|
69 | 69 |
MediaRepresentation rep = null; |
70 | 70 |
|
71 | 71 |
MediaRepresentationPart smallestPart = null; |
72 |
rep = MediaUtils.findBestMatchingRepresentation((Media)element, null, null, scale, scale, null); |
|
72 |
rep = MediaUtils.findBestMatchingRepresentation((Media)element, null, null, scale, scale, null, MediaUtils.MissingValueStrategy.MAX);
|
|
73 | 73 |
List<MediaRepresentationPart> parts = rep.getParts(); |
74 | 74 |
for (MediaRepresentationPart part: parts){ |
75 | 75 |
if (smallestPart != null){ |
Also available in: Unified diff
ref