Revision 12addc56
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java | ||
---|---|---|
1788 | 1788 |
* @return |
1789 | 1789 |
*/ |
1790 | 1790 |
public AbstractCdmDetailElement createDefinedTermDetailElement(Class definedTermClass, |
1791 |
AbstractCdmDetailSection parentElement, int style) {
|
|
1791 |
ICdmFormElement parentElement, int style) {
|
|
1792 | 1792 |
AbstractCdmDetailElement element = null; |
1793 | 1793 |
|
1794 | 1794 |
if (NamedArea.class.isAssignableFrom(definedTermClass)) { |
... | ... | |
3136 | 3136 |
element = new InapplicableIfCollectionElement(this, parentElement, (FeatureState) entity, removeListener, backgroundColor, style); |
3137 | 3137 |
} else if (entity instanceof FeatureState && parentElement instanceof OnlyApplicableIfEntityCollectionSection) { |
3138 | 3138 |
element = new OnlyApplicableIfCollectionElement(this, parentElement, (FeatureState) entity, removeListener, backgroundColor, style); |
3139 |
} else if (entity instanceof FeatureState && parentElement instanceof InapplicableIfEntityCollectionSectionForNode) { |
|
3140 |
element = new InapplicableIfCollectionElement(this, parentElement, (FeatureState) entity, removeListener, backgroundColor, style); |
|
3141 |
} else if (entity instanceof FeatureState && parentElement instanceof OnlyApplicableIfEntityCollectionSectionForNode) { |
|
3142 |
element = new OnlyApplicableIfCollectionElement(this, parentElement, (FeatureState) entity, removeListener, backgroundColor, style); |
|
3139 | 3143 |
} |
3140 | 3144 |
|
3141 | 3145 |
//check for parent section when entity is null |
Also available in: Unified diff
ref #9337, #9287: show details of term and supplemental data of term node