Revision e3a4a3ff
Added by Andreas Müller almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/labels/LabelImageProvider.java | ||
---|---|---|
7 | 7 |
|
8 | 8 |
import eu.etaxonomy.cdm.model.name.NameRelationshipType; |
9 | 9 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
10 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
|
|
10 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
|
11 | 11 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
12 | 12 |
|
13 | 13 |
/** |
... | ... | |
27 | 27 |
* @param name a {@link eu.etaxonomy.cdm.model.name.TaxonNameBase} object. |
28 | 28 |
* @return a {@link eu.etaxonomy.taxeditor.labels.ILabelImageStrategy} object. |
29 | 29 |
*/ |
30 |
public static ILabelImageStrategy getLabelStrategy(TaxonNameBase name) {
|
|
30 |
public static ILabelImageStrategy getLabelStrategy(TaxonName name) { |
|
31 | 31 |
if (name == null) { |
32 | 32 |
if (PreferencesUtil.getPreferredNomenclaturalCode(). |
33 | 33 |
equals(NomenclaturalCode.ICZN)) { |
Also available in: Unified diff
ref #6446 merge taxon name subclasses in TaxEditor