Revision 69e82edd
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ChecklistEditorGeneralPreference.java | ||
---|---|---|
60 | 60 |
|
61 | 61 |
|
62 | 62 |
if (isAllowOverride){ |
63 |
isEditorActivated = PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.DISTRIBUTION_AREA_PREFRENCES_ACTIVE);
|
|
63 |
isEditorActivated = PreferencesUtil.getBooleanValue(IPreferenceKeys.DISTRIBUTION_AREA_PREFRENCES_ACTIVE);
|
|
64 | 64 |
final Button activateCheckButton = new Button(composite, SWT.CHECK); |
65 | 65 |
activateCheckButton.setText("Enable Distribution Editor"); |
66 | 66 |
activateCheckButton.setSelection(isEditorActivated); |
... | ... | |
194 | 194 |
@Override |
195 | 195 |
public boolean performOk() { |
196 | 196 |
if (isAllowOverride){ |
197 |
PreferencesUtil.getPreferenceStore().setValue(IPreferenceKeys.DISTRIBUTION_AREA_PREFRENCES_ACTIVE, isEditorActivated);
|
|
197 |
PreferencesUtil.setBooleanValue(IPreferenceKeys.DISTRIBUTION_AREA_PREFRENCES_ACTIVE, isEditorActivated);
|
|
198 | 198 |
PreferencesUtil.setSortNamedAreasByOrderInVocabulary(isSortByVocabularyOrder); |
199 | 199 |
PreferencesUtil.setShowRankInChecklistEditor(isShowRank); |
200 | 200 |
PreferencesUtil.setShowSymbolInChecklistEditor(isShowSymbol); |
Also available in: Unified diff
local preferences database specific