Revision 239530ee
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AvailableDistributionWizard.java | ||
---|---|---|
18 | 18 |
|
19 | 19 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
20 | 20 |
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; |
21 |
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate; |
|
21 | 22 |
import eu.etaxonomy.cdm.persistence.dto.TermDto; |
22 | 23 |
import eu.etaxonomy.cdm.persistence.dto.TermVocabularyDto; |
23 | 24 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; |
24 | 25 |
import eu.etaxonomy.taxeditor.l10n.Messages; |
25 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
|
26 | 26 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
27 | 27 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
28 | 28 |
|
... | ... | |
77 | 77 |
//ToDo, if whole vocabulary is selected, save the vocabulary not all areas |
78 | 78 |
|
79 | 79 |
// PreferencesUtil.setPreferredNamedAreasForDistributionEditor(saveCheckedElements, saveGrayedElements, false); |
80 |
PreferencesUtil.setStringValue(IPreferenceKeys.DISTRIBUTION_AREA_OCCURENCE_STATUS, saveCheckedElements);
|
|
80 |
PreferencesUtil.setStringValue(PreferencePredicate.AvailableDistributionAreaTerms.getKey(), saveCheckedElements);
|
|
81 | 81 |
return true; |
82 | 82 |
} else { |
83 | 83 |
return false; |
Also available in: Unified diff
ref #7922: add preference to save distribution editor factual data to their own fact