Revision 78c76c38
Added by Patrick Plitzner over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/feature/FeatureNodeDetailElement.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.ui.section.feature; |
10 | 10 |
|
11 |
import eu.etaxonomy.cdm.model.description.Feature; |
|
12 | 11 |
import eu.etaxonomy.cdm.model.term.TermNode; |
13 | 12 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
14 | 13 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
... | ... | |
22 | 21 |
* @since Dec 21, 2017 |
23 | 22 |
* |
24 | 23 |
*/ |
25 |
public class FeatureNodeDetailElement extends AbstractCdmDetailElement<TermNode<Feature>> {
|
|
24 |
public class FeatureNodeDetailElement extends AbstractCdmDetailElement<TermNode> { |
|
26 | 25 |
|
27 | 26 |
private InapplicableIfEntityCollectionSection sectionInapplicableIf; |
28 | 27 |
private OnlyApplicableIfEntityCollectionSection sectionOnlyApplicableIf; |
... | ... | |
33 | 32 |
} |
34 | 33 |
|
35 | 34 |
@Override |
36 |
protected void createControls(ICdmFormElement formElement, TermNode<Feature> entity, int style) {
|
|
35 |
protected void createControls(ICdmFormElement formElement, TermNode entity, int style) { |
|
37 | 36 |
sectionInapplicableIf = formFactory.createInapplicableIfEntityCollectionSection(getConversationHolder(), |
38 | 37 |
formElement, StoreUtil.getSectionStyle(InapplicableIfEntityCollectionSection.class, getEntity().getClass().getCanonicalName())); |
39 | 38 |
sectionInapplicableIf.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
Also available in: Unified diff
ref #8238 Remove too specific generics from TermTree and TermNode