Revision 2a33dc0f
Added by Patrick Plitzner over 6 years ago
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; |
|
35 |
import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin; |
|
34 | 36 |
|
35 | 37 |
/** |
36 | 38 |
* @author pplitzner |
... | ... | |
98 | 100 |
btnExportTree = new Button(composite_buttons, SWT.NONE); |
99 | 101 |
btnExportTree.setToolTipText("Export feature tree"); |
100 | 102 |
btnExportTree.setImage(ImageResources.getImage(ImageResources.MOVE_ICON)); |
103 |
btnExportTree.setVisible(TaxeditorStorePlugin.getDefault().getPreferenceStore().getBoolean(PreferencesUtil.SHOW_EXPERIMENTAL_FEATURES)); |
|
101 | 104 |
} |
102 | 105 |
|
103 | 106 |
public void init(DragSourceListener dragSourceListener, |
... | ... | |
183 | 186 |
public Button getBtnRemove() { |
184 | 187 |
return btnRemove; |
185 | 188 |
} |
186 |
|
|
189 |
|
|
187 | 190 |
/** |
188 | 191 |
* @return the composite_buttons |
189 | 192 |
*/ |
Also available in: Unified diff
ref #6774 Make export button "experimental"