Revision 6ba01b22
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java | ||
---|---|---|
82 | 82 |
import eu.etaxonomy.taxeditor.ui.section.description.ScopeSection; |
83 | 83 |
import eu.etaxonomy.taxeditor.ui.section.feature.CharacterDetailSection; |
84 | 84 |
import eu.etaxonomy.taxeditor.ui.section.feature.FeatureDistributionDetailSection; |
85 |
import eu.etaxonomy.taxeditor.ui.section.feature.FeatureNodeDetailSection; |
|
85 | 86 |
import eu.etaxonomy.taxeditor.ui.section.grantedAuthority.GrantedAuthorityDetailSection; |
86 | 87 |
import eu.etaxonomy.taxeditor.ui.section.group.GroupDetailSection; |
87 | 88 |
import eu.etaxonomy.taxeditor.ui.section.group.MemberDetailSection; |
... | ... | |
332 | 333 |
else if (input instanceof FeatureNodeContainer) { |
333 | 334 |
createFeatureDistributionSection(rootElement); |
334 | 335 |
|
335 |
}else if (input instanceof Character) { |
|
336 |
} else if (input instanceof FeatureNode) { |
|
337 |
createFeatureNodeSection(rootElement); |
|
338 |
|
|
339 |
} else if (input instanceof Character) { |
|
336 | 340 |
createCharacterSection(rootElement); |
337 | 341 |
|
338 | 342 |
}else if ((input instanceof PolytomousKeyNode) || (input instanceof PolytomousKeyRelationship)) { |
... | ... | |
765 | 769 |
|
766 | 770 |
} |
767 | 771 |
|
772 |
private void createFeatureNodeSection(RootElement parent) { |
|
773 |
destroySections(); |
|
774 |
|
|
775 |
FeatureNodeDetailSection featureDistributionSection = formFactory.createFeatureNodeDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); |
|
776 |
|
|
777 |
addPart(featureDistributionSection); |
|
778 |
} |
|
779 |
|
|
768 | 780 |
private void createFeatureDistributionSection(RootElement parent) { |
769 | 781 |
destroySections(); |
770 | 782 |
|
Also available in: Unified diff
ref #6746 Add details view for feature tree and feature node