Project

General

Profile

« Previous | Next » 

Revision c1662123

Added by Katja Luther over 4 years ago

ref #8385: adapt preference keys to preference predicates

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java
48 48
import eu.etaxonomy.cdm.model.common.CdmBase;
49 49
import eu.etaxonomy.cdm.model.common.ICdmBase;
50 50
import eu.etaxonomy.cdm.model.common.IIdentifiableEntity;
51
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
51 52
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
52 53
import eu.etaxonomy.taxeditor.l10n.Messages;
53 54
import eu.etaxonomy.taxeditor.model.MessagingUtils;
54 55
import eu.etaxonomy.taxeditor.newWizard.AbstractNewEntityWizard;
55
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
56 56
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
57 57
import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin;
58 58

  
......
414 414
			}
415 415
			UuidAndTitleCache uuidAndTitleCache = (UuidAndTitleCache) element;
416 416
			String titleCache = uuidAndTitleCache.getTitleCache();
417
			if(PreferencesUtil.getBooleanValue(IPreferenceKeys.SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG)){
417
			if(PreferencesUtil.getBooleanValue(PreferencePredicate.ShowIdInSelectionDialog.getKey())){
418 418
			    titleCache += " ["+uuidAndTitleCache.getId()+"]";
419 419
			}
420 420
			if (element instanceof EntityDTOBase){

Also available in: Unified diff