Revision c1662123
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NomenclaturalAuthorSelectionDialog.java | ||
---|---|---|
22 | 22 |
import eu.etaxonomy.cdm.model.agent.Person; |
23 | 23 |
import eu.etaxonomy.cdm.model.agent.Team; |
24 | 24 |
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase; |
25 |
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate; |
|
25 | 26 |
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache; |
26 | 27 |
import eu.etaxonomy.taxeditor.newWizard.AbstractNewEntityWizard; |
27 | 28 |
import eu.etaxonomy.taxeditor.newWizard.NewPersonWizard; |
28 | 29 |
import eu.etaxonomy.taxeditor.newWizard.NewTeamWizard; |
29 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
|
30 | 30 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
31 | 31 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
32 | 32 |
|
... | ... | |
131 | 131 |
if (!titleCache.equals(abbrevTitleCache)){ |
132 | 132 |
abbrevTitleCache += " - " + titleCache; |
133 | 133 |
} |
134 |
if(PreferencesUtil.getBooleanValue(IPreferenceKeys.SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG)){
|
|
134 |
if(PreferencesUtil.getBooleanValue(PreferencePredicate.ShowIdInSelectionDialog.getKey())){
|
|
135 | 135 |
abbrevTitleCache += " ["+uuidAndTitleCache.getId()+"]"; |
136 | 136 |
} |
137 | 137 |
} |
Also available in: Unified diff
ref #8385: adapt preference keys to preference predicates