protected void createControls(ICdmFormElement formElement, OriginalSourceBase entity, int style) {
Display display = Display.getCurrent();
Color background = display.getSystemColor(SWT.COLOR_WIDGET_BACKGROUND);
- text_originaleNameString = formFactory.createTextWithLabelElement(
- formElement, "Original Information", entity != null?entity.getOriginalNameString():null, SWT.NULL);
- text_originaleNameString.setBackground(background);
if (entity instanceof DescriptionElementSource){
select_nameUsedInSource = formFactory.createSelectionElement(TaxonName.class, formElement, "Name in Source", entity != null? ((DescriptionElementSource)entity).getNameUsedInSource(): null, EntitySelectionElement.DELETABLE, style);
select_nameUsedInSource.setBackground(background);
}
+ text_originaleNameString = formFactory.createTextWithLabelElement(
+ formElement, "Original Information", entity != null?entity.getOriginalNameString():null, SWT.NULL);
+
+ text_originaleNameString.setBackground(background);
if (PreferencesUtil.getBooleanValue(PreferencePredicate.ShowNamespaceInSource.getKey())){
text_idNamespace = formFactory.createTextWithLabelElement(formElement, "ID Namespace", entity != null?entity.getIdNamespace():null, style);