Project

General

Profile

« Previous | Next » 

Revision b69ad708

Added by Patrick Plitzner about 9 years ago

  • original label data uses multi line text field (#4565)
    • initially not expanded

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/OriginalLabelDataElement.java
40 40
    @Override
41 41
    protected void createControls(ICdmFormElement formElement,
42 42
            DerivedUnitFacade entity, int style) {
43
        textOriginalLabel = formFactory.createTextWithLabelElement(formElement, "Original Label Info", entity.getOriginalLabelInfo(), style);
43
        textOriginalLabel = formFactory.createMultiLineTextWithLabel(formElement, "Original Label Info", 120, style);
44
        textOriginalLabel.setText(entity.getOriginalLabelInfo());
44 45
    }
45 46

  
46 47
    /*
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java
78 78
import eu.etaxonomy.taxeditor.ui.section.grantedAuthority.GrantedAuthorityDetailSection;
79 79
import eu.etaxonomy.taxeditor.ui.section.group.GroupDetailSection;
80 80
import eu.etaxonomy.taxeditor.ui.section.group.MemberDetailSection;
81
import eu.etaxonomy.taxeditor.ui.section.identifier.IdentifierDetailSection;
81 82
import eu.etaxonomy.taxeditor.ui.section.key.PolytomousKeyDetailSection;
82 83
import eu.etaxonomy.taxeditor.ui.section.key.PolytomousKeyNodeDetailSection;
83 84
import eu.etaxonomy.taxeditor.ui.section.key.TaxonomicScopeSection;
......
675 676

  
676 677
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
677 678

  
678
        OriginalLabelDataSection originalLabelDataSection = formFactory.createOriginalLabelDataSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
679
        OriginalLabelDataSection originalLabelDataSection = formFactory.createOriginalLabelDataSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE);
679 680
        addPart(originalLabelDataSection);
680 681

  
681 682
        //for editors working with facades
......
699 700
            TaxonAssociationDetailSection taxonAssociationDetailSection = formFactory.createTaxonAssociationDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
700 701
            addPart(taxonAssociationDetailSection);
701 702
        }
702

  
703
        
703 704
    }
704 705

  
705 706
    private void createFieldUnitSection(RootElement parent) {

Also available in: Unified diff