Revision 7fcccab7
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptiveLabelProvider.java | ||
---|---|---|
23 | 23 |
import eu.etaxonomy.taxeditor.model.DescriptionHelper; |
24 | 24 |
import eu.etaxonomy.taxeditor.model.FeatureNodeContainer; |
25 | 25 |
import eu.etaxonomy.taxeditor.model.ImageResources; |
26 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
|
26 | 27 |
|
27 | 28 |
/** |
28 | 29 |
* @author p.ciardelli |
... | ... | |
80 | 81 |
}else if (element instanceof FeatureNodeContainer){ |
81 | 82 |
desc = ((FeatureNodeContainer)element).getDescription(); |
82 | 83 |
} |
83 |
if (desc.isComputed()){ |
|
84 |
if (desc.isComputed() && PreferencesUtil.isComputedDesciptionHandlingDisabled()){
|
|
84 | 85 |
return Display.getCurrent().getSystemColor(SWT.COLOR_GRAY); |
85 | 86 |
} |
86 | 87 |
return null; |
Also available in: Unified diff
ref #9630: make computed descriptions handling configurable - adapt content and label provider