Revision 98db3bf7
Added by Patrick Plitzner almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailElement.java | ||
---|---|---|
17 | 17 |
import eu.etaxonomy.taxeditor.event.EventUtility; |
18 | 18 |
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants; |
19 | 19 |
import eu.etaxonomy.taxeditor.model.TaxonRelationshipTypeInverseContainer; |
20 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
|
20 | 21 |
import eu.etaxonomy.taxeditor.ui.combo.MisappliedRelationshipComboElement; |
21 | 22 |
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement; |
22 | 23 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
... | ... | |
71 | 72 |
|
72 | 73 |
taxon = entity.getFromTaxon(); |
73 | 74 |
|
74 |
taxonElement = formFactory.createTaxonDetailSection(getConversationHolder(), formElement, null, style);
|
|
75 |
taxonElement = formFactory.createTaxonDetailSection(getConversationHolder(), formElement, null, StoreUtil.getSectionStyle(TaxonDetailSection.class, Taxon.class.getCanonicalName()));
|
|
75 | 76 |
taxonElement.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
76 | 77 |
addControl(taxonElement); |
77 | 78 |
addElement(taxonElement); |
... | ... | |
128 | 129 |
}else if (entity.getType().isAnySynonym() ){ |
129 | 130 |
taxon = entity.getFromTaxon(); |
130 | 131 |
|
131 |
taxonElement = formFactory.createTaxonDetailSection(getConversationHolder(), formElement, null, style);
|
|
132 |
taxonElement = formFactory.createTaxonDetailSection(getConversationHolder(), formElement, null, StoreUtil.getSectionStyle(TaxonDetailSection.class, Taxon.class.getCanonicalName()));
|
|
132 | 133 |
taxonElement.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
133 | 134 |
addControl(taxonElement); |
134 | 135 |
addElement(taxonElement); |
Also available in: Unified diff
ref #8260 Complete refactoring of expansion state saving