Project

General

Profile

« Previous | Next » 

Revision d089cce7

Added by Patrick Plitzner over 10 years ago

  • created GatheringEventDetails element completely uncoupled to any controlling/logic class
    • created controller class which then uses the GUI element
    • this way the WindowBuilder can be used much easier

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
113 113
import eu.etaxonomy.taxeditor.ui.section.agent.TeamMemberElement;
114 114
import eu.etaxonomy.taxeditor.ui.section.agent.TeamMemberSection;
115 115
import eu.etaxonomy.taxeditor.ui.section.agent.TeamOrPersonBaseDetailSection;
116
import eu.etaxonomy.taxeditor.ui.section.campanula.GatheringEventDetailsElement;
116 117
import eu.etaxonomy.taxeditor.ui.section.classification.ClassificationDetailElement;
117 118
import eu.etaxonomy.taxeditor.ui.section.classification.ClassificationDetailSection;
118 119
import eu.etaxonomy.taxeditor.ui.section.classification.TaxonNodeDetailElement;
......
1780 1781
    }
1781 1782

  
1782 1783
    public GatheringEventDetailElementComposite createGatheringEventDetailElementComposite(ICdmFormElement parentElement) {
1783
        GatheringEventDetailElementComposite element = new GatheringEventDetailElementComposite(parentElement.getLayoutComposite(), this, parentElement, SWT.NONE);
1784
        GatheringEventDetailElementComposite element = new GatheringEventDetailElementComposite(parentElement.getLayoutComposite(), new GatheringEventDetailsElement(parentElement.getLayoutComposite(), SWT.NONE), this, parentElement, SWT.NONE);
1784 1785
        adapt(element);
1785 1786
        parentElement.addElement(element);
1786 1787
        return element;

Also available in: Unified diff