Revision 0ab60230
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementDetailElement.java | ||
---|---|---|
13 | 13 |
import java.util.Collection; |
14 | 14 |
|
15 | 15 |
import eu.etaxonomy.cdm.model.description.DescriptionElementBase; |
16 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
|
16 | 17 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
17 | 18 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
18 | 19 |
import eu.etaxonomy.taxeditor.ui.element.IEnableableFormElement; |
... | ... | |
60 | 61 |
except.add(formElement); |
61 | 62 |
} |
62 | 63 |
} |
63 |
if (getEntity().getInDescription().isComputed()){ |
|
64 |
if (getEntity().getInDescription().isComputed() && PreferencesUtil.isComputedDesciptionHandlingDisabled()){
|
|
64 | 65 |
enabled = false; |
65 | 66 |
}else{ |
66 | 67 |
enabled = true; |
Also available in: Unified diff
ref #9630: make computed descriptions handling configurable