Revision dc54e76e
Added by Andreas Müller over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java | ||
---|---|---|
112 | 112 |
checkbox_useNameCache = formFactory.createCheckbox(formElement, |
113 | 113 |
"Exclude Authorship", entity.isUseNameCache(), style); |
114 | 114 |
|
115 |
if (entity instanceof Taxon) { |
|
116 |
checkbox_excluded = formFactory.createCheckbox(formElement, |
|
117 |
"Taxon is excluded", ((Taxon) entity).isExcluded(), style); |
|
118 |
checkbox_unplaced = formFactory.createCheckbox(formElement, |
|
119 |
"Taxon is unplaced", ((Taxon) entity).isUnplaced(), style); |
|
120 |
} |
|
115 |
//#3925 |
|
116 |
// if (entity instanceof Taxon) { |
|
117 |
// checkbox_excluded = formFactory.createCheckbox(formElement, |
|
118 |
// "Taxon is excluded", ((Taxon) entity).isExcluded(), style); |
|
119 |
// checkbox_unplaced = formFactory.createCheckbox(formElement, |
|
120 |
// "Taxon is unplaced", ((Taxon) entity).isUnplaced(), style); |
|
121 |
// } |
|
121 | 122 |
|
122 | 123 |
checkbox_doubtful = formFactory.createCheckbox(formElement, |
123 | 124 |
entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style); |
... | ... | |
128 | 129 |
"Taxon is published", ((Taxon) entity).isPublish(), style); |
129 | 130 |
} |
130 | 131 |
|
131 |
|
|
132 |
//#5974 |
|
132 | 133 |
// if(entity instanceof Synonym){ |
133 | 134 |
// sectionSynonymRelationship = formFactory.createSynonymRelationshipDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE); |
134 | 135 |
// sectionSynonymRelationship.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
... | ... | |
181 | 182 |
getEntity().setAppendedPhrase(text_appendedPhrase.getText()); |
182 | 183 |
}else if (eventSource == text_secundum_microreference) { |
183 | 184 |
getEntity().setSecMicroReference(text_secundum_microreference.getText()); |
184 |
}else if (eventSource == checkbox_excluded) { |
|
185 |
((Taxon) getEntity()).setExcluded(checkbox_excluded.getSelection()); |
|
186 |
} else if (eventSource == checkbox_unplaced) { |
|
187 |
((Taxon) getEntity()).setUnplaced(checkbox_unplaced.getSelection()); |
|
185 |
//#3925 |
|
186 |
// }else if (eventSource == checkbox_excluded) { |
|
187 |
// ((Taxon) getEntity()).setExcluded(checkbox_excluded.getSelection()); |
|
188 |
// } else if (eventSource == checkbox_unplaced) { |
|
189 |
// ((Taxon) getEntity()).setUnplaced(checkbox_unplaced.getSelection()); |
|
188 | 190 |
} else if (eventSource == checkbox_published) { |
189 | 191 |
((Taxon)getEntity()).setPublish(checkbox_published.getSelection()); |
190 | 192 |
} |
Also available in: Unified diff
ref #3925 remove unplaced and excluded from taxon view