}
parentTreeNode = entity.getParent();
+<<<<<<< HEAD
if (entity instanceof TaxonNode ) {
checkbox_publish = formFactory.createCheckbox(formElement,
"Taxon is published", entity.getTaxon().isPublish(), style);
checkbox_publish = formFactory.createCheckbox(formElement,
"Taxon is published", true, style);
}
+
checkbox_publish.setEnabled(isCreateNew());
if(isCreateNew()){
setParentTreeNode(entity.getParent());
} else{
setTreeNode(entity);
-
+ checkbox_publish.setSelection(entity.getTaxon().isPublish());
complete = true;
}
if (entity instanceof TaxonNode) {