*/
package eu.etaxonomy.taxeditor.ui.section.reference;
+import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.forms.widgets.TableWrapData;
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
}
selection_NomRef.setBackground(this.getPersistentBackground());
microReference = formFactory.createTextWithLabelElement(formElement, "Details", entity != null? entity.getCitationMicroReference(): "", style);
- microReference.setIndent(10);
+ microReference.setIndent(15);
for (ICdmFormElement element: selection_NomRef.getElements()){
element.setBackground(getPersistentBackground());
}
+ Label sep = formFactory.createLabel(formElement.getLayoutComposite(), "");
+ sep.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
select_nameUsedInSource = formFactory.createSelectionElement(TaxonName.class, formElement, "Original spelling", entity != null? ((DescriptionElementSource)entity).getNameUsedInSource(): null, EntitySelectionElement.ALL, style);
-
-// if (PreferencesUtil.getBooleanValue(PreferencePredicate.ShowNamespaceInSource.getKey())){
-// text_idNamespace = formFactory.createTextWithLabelElement(formElement, "ID Namespace", entity != null?entity.getIdNamespace():null, style);
-// }
-// if (PreferencesUtil.getBooleanValue(PreferencePredicate.ShowIdInSource.getKey())){
-// text_idInSource = formFactory.createTextWithLabelElement(formElement, "ID in Source", entity != null?entity.getIdInSource():null, style);
-// }
-//
-// text_originaleNameString = formFactory.createTextWithLabelElement(
-// formElement, "Original Information", entity != null?entity.getOriginalNameString():null, SWT.NULL);
-
externalLinks = formFactory.createExternalLinksSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(ExternalLinksSection.class, DescriptionElementSource.class.getCanonicalName()));
externalLinks.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 3));
externalLinks.setEntity(entity);
- externalLinks.setText("Link to protologue");
+ externalLinks.setText("Protologue/original publication");
externalLinks.setEmptySectionString("No protologue yet.");
addControl(externalLinks);
TableWrapData layoutData = LayoutConstants.FILL_HORIZONTALLY(2, 1);
layoutData.indent = 10;
-
advancedSection.setLayoutData(layoutData);
advancedSection.setBackground(this.getPersistentBackground());
advancedSection.setEntity(entity);