ref #6198 removed synonym type combobox
authorPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 17 Nov 2016 09:09:19 +0000 (10:09 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 17 Nov 2016 09:09:19 +0000 (10:09 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java

index f247de63eb423fec87e6552d192839cd2e794cb2..39cf141f29c3c9353122daee0ca9edf13aadba03 100644 (file)
@@ -15,7 +15,6 @@ import java.util.Arrays;
 import org.eclipse.jface.util.PropertyChangeEvent;
 import org.eclipse.swt.SWT;
 
 import org.eclipse.jface.util.PropertyChangeEvent;
 import org.eclipse.swt.SWT;
 
-import eu.etaxonomy.cdm.model.common.TermType;
 import eu.etaxonomy.cdm.model.reference.Reference;
 import eu.etaxonomy.cdm.model.taxon.Synonym;
 import eu.etaxonomy.cdm.model.taxon.SynonymType;
 import eu.etaxonomy.cdm.model.reference.Reference;
 import eu.etaxonomy.cdm.model.taxon.Synonym;
 import eu.etaxonomy.cdm.model.taxon.SynonymType;
@@ -104,7 +103,8 @@ public class TaxonBaseDetailElement extends AbstractIdentifiableEntityDetailElem
                }
 
                if(entity instanceof Synonym){
                }
 
                if(entity instanceof Synonym){
-                   combo_relationshipType = formFactory.createDefinedTermComboElement(TermType.SynonymType, formElement, "Synonym Type", ((Synonym) entity).getType(), style);
+                   //#6198 removed type as it is currently not handled correctly in the editor
+//                 combo_relationshipType = formFactory.createDefinedTermComboElement(TermType.SynonymType, formElement, "Synonym Type", ((Synonym) entity).getType(), style);
                checkProParte = formFactory.createCheckbox(formElement, "Pro Parte Synonym", ((Synonym) entity).isProParte(), style);
                checkPartial= formFactory.createCheckbox(formElement, "Partial Synonym", ((Synonym) entity).isPartial(), style);
                }
                checkProParte = formFactory.createCheckbox(formElement, "Pro Parte Synonym", ((Synonym) entity).isProParte(), style);
                checkPartial= formFactory.createCheckbox(formElement, "Partial Synonym", ((Synonym) entity).isPartial(), style);
                }