Revision 00e51d7a
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/NomenclaturalCodePreferences.java | ||
---|---|---|
22 | 22 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
23 | 23 |
import eu.etaxonomy.taxeditor.l10n.Messages; |
24 | 24 |
import eu.etaxonomy.taxeditor.model.NomenclaturalCodeHelper; |
25 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
|
26 | 25 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
27 | 26 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
28 | 27 |
|
... | ... | |
41 | 40 |
PreferencesUtil.setPreferredNomenclaturalCode(null, false); |
42 | 41 |
if (pref.isAllowOverride()) { |
43 | 42 |
addField(new ComboFieldEditor( |
44 |
PreferencesUtil.createPreferenceString(IPreferenceKeys.PREFERRED_NOMENCLATURAL_CODE_KEY),
|
|
43 |
PreferencesUtil.createPreferenceString(PreferencesUtil.createOverridePreferenceString(PreferencePredicate.NomenclaturalCode.getKey())),
|
|
45 | 44 |
Messages.NomenclaturalCodePreferences_available_codes, getLabelAndValues(), |
46 | 45 |
getFieldEditorParent())); |
47 | 46 |
|
Also available in: Unified diff
ref #7849: fix problems with nomenclatural code preference