Revision c6df1ae1
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionDetailSection.java | ||
---|---|---|
50 | 50 |
protected AbstractCdmDetailElement<DescriptionBase<?>> createCdmDetailElement(AbstractCdmDetailSection<DescriptionBase<?>> parentElement, int style) { |
51 | 51 |
return formFactory.createDescriptionDetailElement(parentElement, style); |
52 | 52 |
} |
53 |
|
|
54 |
@Override |
|
55 |
public void setEntity(DescriptionBase<?> entity) { |
|
56 |
super.setEntity(entity); |
|
57 |
|
|
58 |
if (entity.isComputed()){ |
|
59 |
setEnabled(false); |
|
60 |
this.getDetailElement().setEnabled(false); |
|
61 |
} |
|
62 |
} |
|
53 | 63 |
} |
Also available in: Unified diff
ref #8471: allow delete again and disable description parts