+
+ @Override
+ protected void setSectionTitle() {
+ String title = "";
+ String label = "";
+ if (getEntity() != null && (getEntity() instanceof TaxonName) ) {
+ label =((TaxonName) getEntity()).getAuthorshipCache();
+ title = ": " + label;
+ }
+ this.setText(String.format("%s%s", getHeading(), title));
+ setTextClient(createToolbar());
+ }
+
+ @Override
+ protected AbstractCdmDetailElement<INonViralName> createCdmDetailElement(
+ AbstractCdmDetailSection<INonViralName> parentElement, int style) {
+ return formFactory.createAuthorshipDetailElement(parentElement, style);
+ }
+
+ public void updateContent(){
+ ((AuthorshipDetailElement)this.detailElement).updateContent();
+ }
+}
\ No newline at end of file