Revision b3cdd8e7
Added by Andreas Müller almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java | ||
---|---|---|
97 | 97 |
if(entity instanceof Synonym){ |
98 | 98 |
//#6198 removed type as it is currently not handled correctly in the editor |
99 | 99 |
// combo_relationshipType = formFactory.createDefinedTermComboElement(TermType.SynonymType, formElement, "Synonym Type", ((Synonym) entity).getType(), style); |
100 |
checkProParte = formFactory.createCheckbox(formElement, "Pro Parte Synonym", ((Synonym) entity).isProParte(), style); |
|
101 |
checkPartial= formFactory.createCheckbox(formElement, "Partial Synonym", ((Synonym) entity).isPartial(), style); |
|
100 |
//#7334 removed pro parte and partial as they are handled as concept relationships now |
|
101 |
// checkProParte = formFactory.createCheckbox(formElement, "Pro Parte Synonym", ((Synonym) entity).isProParte(), style); |
|
102 |
// checkPartial= formFactory.createCheckbox(formElement, "Partial Synonym", ((Synonym) entity).isPartial(), style); |
|
102 | 103 |
} |
103 | 104 |
} |
104 | 105 |
|
... | ... | |
151 | 152 |
getEntity().setPublish(checkbox_published.getSelection()); |
152 | 153 |
} else if(eventSource == combo_relationshipType){ |
153 | 154 |
((Synonym) getEntity()).setType(combo_relationshipType.getSelection()); |
154 |
} else if(eventSource == checkPartial){ |
|
155 |
((Synonym) getEntity()).setPartial(checkPartial.getSelection()); |
|
156 |
} else if(eventSource == checkProParte){ |
|
157 |
((Synonym) getEntity()).setProParte(checkProParte.getSelection()); |
|
155 |
//#7334/5 removed pro parte and partial as they are handled as concept relationships now |
|
156 |
// } else if(eventSource == checkPartial){ |
|
157 |
// ((Synonym) getEntity()).setPartial(checkPartial.getSelection()); |
|
158 |
// } else if(eventSource == checkProParte){ |
|
159 |
// ((Synonym) getEntity()).setProParte(checkProParte.getSelection()); |
|
158 | 160 |
} |
159 | 161 |
} |
160 | 162 |
@Override |
Also available in: Unified diff
ref #7335 remove pro parte and partial checkboxes from TaxonBaseDetailElement