Revision 9b8d1a1c
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/DistributionEditor.java | ||
---|---|---|
93 | 93 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
94 | 94 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
95 | 95 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
96 |
import eu.etaxonomy.taxeditor.preference.EditorPreferencePredicate; |
|
97 | 96 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
98 | 97 |
import eu.etaxonomy.taxeditor.preference.Resources; |
99 | 98 |
import eu.etaxonomy.taxeditor.preference.TermOrder; |
... | ... | |
163 | 162 |
*/ |
164 | 163 |
public DistributionEditor(Composite parent, DistributionEditorPart part) { |
165 | 164 |
super(parent, SWT.NULL); |
166 |
isShowRank = PreferencesUtil.getBooleanValue(EditorPreferencePredicate.ShowRankInDistributionEditor.getKey());
|
|
165 |
isShowRank = PreferencesUtil.getBooleanValue(PreferencePredicate.ShowRankInDistributionEditor.getKey()); |
|
167 | 166 |
this.part = part; |
168 | 167 |
this.setLayout(new GridLayout()); |
169 | 168 |
GridLayoutFactory.fillDefaults().applyTo(parent); |
... | ... | |
620 | 619 |
private SortedSet<DefinedTermBase> loadNamedAreas() { |
621 | 620 |
//IPreferenceStore preferenceStore = PreferencesUtil.getPreferenceStore(); |
622 | 621 |
|
623 |
String valuesAreas = PreferencesUtil.getStringValue(EditorPreferencePredicate.AvailableDistributionAreaTerms.getKey());
|
|
622 |
String valuesAreas = PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionAreaTerms.getKey()); |
|
624 | 623 |
String values = PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionAreaVocabularies.getKey()); |
625 | 624 |
Set<UUID> uuidList = new HashSet<UUID>(); |
626 | 625 |
String[] split; |
Also available in: Unified diff
ref #8078: move editorPreferencePredicates to cdmlib