19 |
19 |
import eu.etaxonomy.cdm.model.taxon.SynonymType;
|
20 |
20 |
import eu.etaxonomy.cdm.model.taxon.Taxon;
|
21 |
21 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
|
22 |
|
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
|
23 |
|
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
|
24 |
22 |
import eu.etaxonomy.cdm.persistence.hibernate.permission.Role;
|
25 |
23 |
import eu.etaxonomy.taxeditor.store.CdmStore;
|
26 |
24 |
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement;
|
... | ... | |
37 |
35 |
* @version 1.0
|
38 |
36 |
*/
|
39 |
37 |
public class TaxonBaseDetailElement extends AbstractIdentifiableEntityDetailElement<TaxonBase> {
|
40 |
|
|
|
38 |
|
41 |
39 |
private CheckboxElement checkbox_doubtful;
|
42 |
40 |
|
43 |
41 |
private CheckboxElement checkbox_useNameCache;
|
... | ... | |
66 |
64 |
"Title Cache", entity.getTitleCache(),
|
67 |
65 |
entity.isProtectedTitleCache(), style);
|
68 |
66 |
|
69 |
|
|
|
67 |
|
70 |
68 |
text_appendedPhrase = formFactory.createTextWithLabelElement(
|
71 |
69 |
formElement, "Appended Phrase", entity.getAppendedPhrase(),
|
72 |
70 |
SWT.WRAP);
|
... | ... | |
90 |
88 |
entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style);
|
91 |
89 |
|
92 |
90 |
|
93 |
|
if (entity instanceof Taxon) {
|
94 |
|
checkbox_published = formFactory.createCheckbox(formElement,
|
95 |
|
"Taxon is published", ((Taxon) entity).isPublish(), style);
|
96 |
|
}
|
|
91 |
|
|
92 |
checkbox_published = formFactory.createCheckbox(formElement,
|
|
93 |
"Taxon is published", entity.isPublish(), style);
|
|
94 |
|
97 |
95 |
|
98 |
96 |
if(entity instanceof Synonym){
|
99 |
97 |
//#6198 removed type as it is currently not handled correctly in the editor
|
show publish flag for synonyms in details view