Project

General

Profile

« Previous | Next » 

Revision 5eabd2c1

Added by Katja Luther over 3 years ago

ref #9199: move original information behind name used in source

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/AdvancedSourceElement.java
45 45
    protected void createControls(ICdmFormElement formElement, OriginalSourceBase entity, int style) {
46 46
        Display display = Display.getCurrent();
47 47
        Color background = display.getSystemColor(SWT.COLOR_WIDGET_BACKGROUND);
48
        text_originaleNameString = formFactory.createTextWithLabelElement(
49
                formElement, "Original Information", entity != null?entity.getOriginalNameString():null, SWT.NULL);
50 48

  
51
        text_originaleNameString.setBackground(background);
52 49

  
53 50
        if (entity instanceof DescriptionElementSource){
54 51
            select_nameUsedInSource = formFactory.createSelectionElement(TaxonName.class, formElement, "Name in Source", entity != null? ((DescriptionElementSource)entity).getNameUsedInSource(): null, EntitySelectionElement.DELETABLE, style);
55 52
            select_nameUsedInSource.setBackground(background);
56 53
        }
54
        text_originaleNameString = formFactory.createTextWithLabelElement(
55
                formElement, "Original Information", entity != null?entity.getOriginalNameString():null, SWT.NULL);
56

  
57
        text_originaleNameString.setBackground(background);
57 58

  
58 59
        if (PreferencesUtil.getBooleanValue(PreferencePredicate.ShowNamespaceInSource.getKey())){
59 60
            text_idNamespace = formFactory.createTextWithLabelElement(formElement, "ID Namespace", entity != null?entity.getIdNamespace():null, style);

Also available in: Unified diff