private TextWithLabelElement text_appendedPhrase;
+ private CheckboxElement checkbox_published;
+
+
private Taxon taxon;
private TaxonDetailSection taxonElement;
}else{
label = "Sec.";
}
+ text_appendedPhrase = formFactory.createTextWithLabelElement(
+ this, "Appended Phrase", taxon.getAppendedPhrase(),
+ SWT.WRAP);
+ checkbox_published = formFactory.createCheckbox(this,
+ "Published", taxon.isPublish(), style);
sensuReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
formElement, label,
taxon.getSec(), EntitySelectionElement.ALL,
addElement(taxonElement);
+ text_appendedPhrase = formFactory.createTextWithLabelElement(
+ this, "Appended Phrase", taxon.getAppendedPhrase(),
+ SWT.WRAP);
-
+ checkbox_published = formFactory.createCheckbox(this,
+ "Published", taxon.isPublish(), style);
secReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
formElement, "Syn. Sec.",
entity.getCitation(), EntitySelectionElement.ALL,
getEntity().setType(combo_taxonRelationshipType.getSelection().getType());
} else if ( eventSource == combo_misappliedRelationshipType) {
getEntity().setType(combo_misappliedRelationshipType.getSelection());
+ } else if (eventSource == text_appendedPhrase) {
+ taxon.setAppendedPhrase(text_appendedPhrase.getText());
+ } else if (eventSource == checkbox_published) {
+ taxon.setPublish(checkbox_published.getSelection());
}
}else{
if (eventSource == selection_relatedTaxon){