Revision 23783f7a
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DeterminationDetailElement.java | ||
---|---|---|
16 | 16 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
17 | 17 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
18 | 18 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.EntityDetailType; |
19 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
|
19 | 20 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
20 | 21 |
|
21 | 22 |
/** |
... | ... | |
49 | 50 |
.createEntityDetailSection( |
50 | 51 |
EntityDetailType.DETERMINATION_CURRENT, |
51 | 52 |
getConversationHolder(), formElement, Section.EXPANDED); |
52 |
section_currentDetermination.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY(2, 1));
|
|
53 |
section_currentDetermination.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
|
|
53 | 54 |
section_currentDetermination.setEntity(entity); |
54 | 55 |
|
55 | 56 |
section_determinationHistory = (DeterminationHistoryDetailSection) formFactory |
56 | 57 |
.createEntityDetailSection( |
57 | 58 |
EntityDetailType.DETERMINATION_HISTORY, |
58 | 59 |
getConversationHolder(), formElement, Section.TWISTIE); |
59 |
section_determinationHistory.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY(2, 1));
|
|
60 |
section_determinationHistory.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
|
|
60 | 61 |
section_determinationHistory.setEntity(entity); |
61 | 62 |
|
62 | 63 |
} |
Also available in: Unified diff
Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)