Project

General

Profile

« Previous | Next » 

Revision 78a0e8ca

Added by Patrick Plitzner almost 7 years ago

ref #6774 Refactor access of static field

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/FeatureTreeEditorComposite.java
31 31
import eu.etaxonomy.taxeditor.featuretree.FeatureTreeLabelProvider;
32 32
import eu.etaxonomy.taxeditor.l10n.Messages;
33 33
import eu.etaxonomy.taxeditor.model.ImageResources;
34
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
34
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
35 35
import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin;
36 36

  
37 37
/**
......
100 100
        btnExportTree = new Button(composite_buttons, SWT.NONE);
101 101
        btnExportTree.setToolTipText("Export feature tree");
102 102
        btnExportTree.setImage(ImageResources.getImage(ImageResources.MOVE_ICON));
103
        btnExportTree.setVisible(TaxeditorStorePlugin.getDefault().getPreferenceStore().getBoolean(PreferencesUtil.SHOW_EXPERIMENTAL_FEATURES));
103
        btnExportTree.setVisible(TaxeditorStorePlugin.getDefault().getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_EXPERIMENTAL_FEATURES));
104 104
    }
105 105

  
106 106
    public void init(DragSourceListener dragSourceListener,

Also available in: Unified diff