parentTreeNode = entity.getParent();
if (entity instanceof TaxonNode && parentTreeNode.getTaxon() != null) {
checkbox_publish = formFactory.createCheckbox(formElement,
- "Taxon is public", parentTreeNode.getTaxon().isPublish(), style);
+ "Taxon is published", entity.getTaxon().isPublish(), style);
}else{
checkbox_publish = formFactory.createCheckbox(formElement,
- "Taxon is public", true, style);
+ "Taxon is published", true, style);
}
checkbox_publish.setEnabled(isCreateNew());
if(isCreateNew()){
} else{
setTreeNode(entity);
+
complete = true;
}
if (entity instanceof TaxonNode) {
private void setTaxon(Taxon taxon) {
this.taxon = taxon;
getEntity().setTaxon(taxon);
+ this.set_publish(taxon.isPublish());
if (isCreateNew()){
textNewTaxonName.setText(taxon.getName().getTitleCache());
if (taxon.getSec() != null){