Project

General

Profile

« Previous | Next » 

Revision 69e82edd

Added by Katja Luther over 5 years ago

local preferences database specific

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/preference/BulkEditorMarkerPreferencePage.java
13 13

  
14 14
import eu.etaxonomy.cdm.model.common.MarkerType;
15 15
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
16
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
16 17
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
17 18
import eu.etaxonomy.taxeditor.store.CdmStore;
18 19
import eu.etaxonomy.taxeditor.store.TermStore;
......
29 30
    protected void createFieldEditors() {
30 31
        if(CdmStore.isActive()){
31 32
            for (final MarkerType markerType : TermStore.getTerms(MarkerType.class)) {
32
                addField(new BooleanFieldEditor(IPreferenceKeys.EDIT_MARKER_TYPE_PREFIX
33
                addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.EDIT_MARKER_TYPE_PREFIX)
33 34
                        + markerType.getClass().getName() + markerType.getLabel(), String.format("Edit '%s' markers",
34 35
                        markerType.getLabel()), getFieldEditorParent()));
35 36
            }

Also available in: Unified diff