ref #5974 Remove synonym relationships (rename synRelType to synRel and others)
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / taxon / TaxonBaseDetailElement.java
index 1ef60da46a69521d55686413038a650f5c5de87e..a1388967ca8153f44e2597ff100c88996ae621a8 100644 (file)
@@ -30,7 +30,6 @@ import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
 import eu.etaxonomy.taxeditor.ui.element.LayoutConstants;
 import eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement;
 import eu.etaxonomy.taxeditor.ui.section.AbstractIdentifiableEntityDetailElement;
-import eu.etaxonomy.taxeditor.ui.section.name.SynonymRelationshipDetailSection;
 import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
 
 /**
@@ -60,7 +59,7 @@ public class TaxonBaseDetailElement extends AbstractIdentifiableEntityDetailElem
 
        private CheckboxElement checkbox_published;
 
-       private SynonymRelationshipDetailSection sectionSynonymRelationship;
+//     private SynonymRelationshipDetailSection sectionSynonymRelationship;
 
        /**
         * <p>
@@ -130,11 +129,11 @@ public class TaxonBaseDetailElement extends AbstractIdentifiableEntityDetailElem
                }
 
 
-               if(entity instanceof Synonym){
-                   sectionSynonymRelationship = formFactory.createSynonymRelationshipDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE);
-                   sectionSynonymRelationship.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
-                   sectionSynonymRelationship.setEntity((Synonym) entity);
-               }
+//             if(entity instanceof Synonym){
+//                 sectionSynonymRelationship = formFactory.createSynonymRelationshipDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE);
+//                 sectionSynonymRelationship.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
+//                 sectionSynonymRelationship.setEntity((Synonym) entity);
+//             }
        }
 
     private void updateCheckboxPublish() {