Revision eeb8c46f
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java | ||
---|---|---|
41 | 41 |
import eu.etaxonomy.cdm.model.description.DescriptionElementBase; |
42 | 42 |
import eu.etaxonomy.cdm.model.description.Distribution; |
43 | 43 |
import eu.etaxonomy.cdm.model.description.FeatureNode; |
44 |
import eu.etaxonomy.cdm.model.description.FeatureTree; |
|
44 | 45 |
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode; |
45 | 46 |
import eu.etaxonomy.cdm.model.description.SpecimenDescription; |
46 | 47 |
import eu.etaxonomy.cdm.model.media.Media; |
... | ... | |
83 | 84 |
import eu.etaxonomy.taxeditor.ui.section.feature.CharacterDetailSection; |
84 | 85 |
import eu.etaxonomy.taxeditor.ui.section.feature.FeatureDistributionDetailSection; |
85 | 86 |
import eu.etaxonomy.taxeditor.ui.section.feature.FeatureNodeDetailSection; |
87 |
import eu.etaxonomy.taxeditor.ui.section.feature.FeatureTreeDetailSection; |
|
86 | 88 |
import eu.etaxonomy.taxeditor.ui.section.grantedAuthority.GrantedAuthorityDetailSection; |
87 | 89 |
import eu.etaxonomy.taxeditor.ui.section.group.GroupDetailSection; |
88 | 90 |
import eu.etaxonomy.taxeditor.ui.section.group.MemberDetailSection; |
... | ... | |
336 | 338 |
} else if (input instanceof FeatureNode) { |
337 | 339 |
createFeatureNodeSection(rootElement); |
338 | 340 |
|
341 |
} else if (input instanceof FeatureTree) { |
|
342 |
createFeatureTreeSection(rootElement); |
|
343 |
|
|
339 | 344 |
} else if (input instanceof Character) { |
340 | 345 |
createCharacterSection(rootElement); |
341 | 346 |
|
... | ... | |
769 | 774 |
|
770 | 775 |
} |
771 | 776 |
|
777 |
private void createFeatureTreeSection(RootElement parent) { |
|
778 |
destroySections(); |
|
779 |
|
|
780 |
FeatureTreeDetailSection section = formFactory.createFeatureTreeDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); |
|
781 |
|
|
782 |
addPart(section); |
|
783 |
} |
|
784 |
|
|
772 | 785 |
private void createFeatureNodeSection(RootElement parent) { |
773 | 786 |
destroySections(); |
774 | 787 |
|
Also available in: Unified diff
ref #6746 Enable details view for feature trees