Revision bdd1bcf5
Added by Andreas Müller over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java | ||
---|---|---|
30 | 30 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
31 | 31 |
import eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement; |
32 | 32 |
import eu.etaxonomy.taxeditor.ui.section.AbstractIdentifiableEntityDetailElement; |
33 |
import eu.etaxonomy.taxeditor.ui.section.name.SynonymRelationshipDetailSection; |
|
34 | 33 |
import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement; |
35 | 34 |
|
36 | 35 |
/** |
... | ... | |
60 | 59 |
|
61 | 60 |
private CheckboxElement checkbox_published; |
62 | 61 |
|
63 |
private SynonymRelationshipDetailSection sectionSynonymRelationship; |
|
62 |
// private SynonymRelationshipDetailSection sectionSynonymRelationship;
|
|
64 | 63 |
|
65 | 64 |
/** |
66 | 65 |
* <p> |
... | ... | |
130 | 129 |
} |
131 | 130 |
|
132 | 131 |
|
133 |
if(entity instanceof Synonym){ |
|
134 |
sectionSynonymRelationship = formFactory.createSynonymRelationshipDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE); |
|
135 |
sectionSynonymRelationship.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
|
136 |
sectionSynonymRelationship.setEntity((Synonym) entity); |
|
137 |
} |
|
132 |
// if(entity instanceof Synonym){
|
|
133 |
// sectionSynonymRelationship = formFactory.createSynonymRelationshipDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE);
|
|
134 |
// sectionSynonymRelationship.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
|
|
135 |
// sectionSynonymRelationship.setEntity((Synonym) entity);
|
|
136 |
// }
|
|
138 | 137 |
} |
139 | 138 |
|
140 | 139 |
private void updateCheckboxPublish() { |
Also available in: Unified diff
ref #5974 Remove synonym relationships (rename synRelType to synRel and others)