Project

General

Profile

« Previous | Next » 

Revision 8180822f

Added by Andreas Müller over 1 year ago

ref #10186 remove ConversationHolder from many forms and some more cleanup

View differences:

eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteConfiguration.java
109 109
public class CdmApplicationRemoteConfiguration implements ICdmRepository, ApplicationContextAware  {
110 110

  
111 111
    @SuppressWarnings("unused")
112
    private static final Logger logger = LogManager.getLogger(CdmApplicationRemoteConfiguration.class);
112
    private static final Logger logger = LogManager.getLogger();
113 113

  
114 114
    /**
115 115
     * Timeout for service lookup etc. This timeout (milliseconds) should be more
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/session/CdmEntitySessionManager.java
16 16
import java.util.Map;
17 17
import java.util.Set;
18 18

  
19
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
19
import org.apache.logging.log4j.LogManager;
20
import org.apache.logging.log4j.Logger;
20 21
import org.springframework.stereotype.Component;
21 22

  
22 23
import eu.etaxonomy.cdm.api.service.UpdateResult;
......
83 84
    }
84 85

  
85 86
    private void setActiveSession(ICdmEntitySession activeSession) {
86
       this. tlActiveSession.set(activeSession);
87
        this.tlActiveSession.set(activeSession);
87 88
        notifyObservers();
88 89
    }
89 90

  
......
98 99
            setActiveSession(null);
99 100
            return;
100 101
        }
101
        ICdmEntitySession session  = ownerSessionMap.get(sessionOwner);
102
        ICdmEntitySession session = ownerSessionMap.get(sessionOwner);
102 103
        if(session == null) {
103 104
            throw new CdmClientSessionException("Trying to bind session which does not exist");
104 105
        }
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/CdmEntitySessionInput.java
40 40
    }
41 41

  
42 42
    public void bind() {
43
        if(cdmEntitySession!=null){
43
        if(cdmEntitySession != null){
44 44
            cdmEntitySession.bind();
45 45
        }
46 46
        else {
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
348 348
import eu.etaxonomy.taxeditor.ui.section.reference.OriginalSourceElement;
349 349
import eu.etaxonomy.taxeditor.ui.section.reference.ReferenceDetailElement;
350 350
import eu.etaxonomy.taxeditor.ui.section.reference.ReferenceDetailSection;
351
import eu.etaxonomy.taxeditor.ui.section.reference.SecundumSourceDetailElement;
352 351
import eu.etaxonomy.taxeditor.ui.section.reference.SecundumSourceElement;
353
import eu.etaxonomy.taxeditor.ui.section.reference.SecundumSourceSection;
354 352
import eu.etaxonomy.taxeditor.ui.section.reference.SingleSourceSection;
355 353
import eu.etaxonomy.taxeditor.ui.section.supplemental.AnnotationElement;
356 354
import eu.etaxonomy.taxeditor.ui.section.supplemental.AnnotationSection;
357 355
import eu.etaxonomy.taxeditor.ui.section.supplemental.CdmBaseElement;
358 356
import eu.etaxonomy.taxeditor.ui.section.supplemental.CdmBaseSection;
359

  
360 357
import eu.etaxonomy.taxeditor.ui.section.supplemental.CreditElement;
361 358
import eu.etaxonomy.taxeditor.ui.section.supplemental.CreditSection;
362 359
import eu.etaxonomy.taxeditor.ui.section.supplemental.ExtensionElement;
......
1743 1740
        adapt(section);
1744 1741
        return section;
1745 1742
    }
1746
    
1747
    
1743

  
1744

  
1748 1745
    /**
1749 1746
     * @param parent
1750 1747
     * @param i
......
1818 1815
        return element;
1819 1816
    }
1820 1817

  
1821
    public DefinedTermDetailSection createDefinedTermDetailSection(Class definedTermClass, ConversationHolder conversation,
1818
    public DefinedTermDetailSection createDefinedTermDetailSection(Class definedTermClass,
1822 1819
            ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style) {
1823 1820

  
1824
        DefinedTermDetailSection section = new DefinedTermDetailSection(this, definedTermClass, conversation, parentElement,
1821
        DefinedTermDetailSection section = new DefinedTermDetailSection(this, definedTermClass, parentElement,
1825 1822
                selectionProvider, style);
1826 1823

  
1827 1824
        parentElement.addElement(section);
......
1830 1827

  
1831 1828
    }
1832 1829

  
1833
    public TermMediaSection createTermMediaSection(ConversationHolder conversation,
1830
    public TermMediaSection createTermMediaSection(
1834 1831
            ICdmFormElement parentElement, int style) {
1835
        TermMediaSection section = new TermMediaSection(this, conversation, parentElement, style);
1832
        TermMediaSection section = new TermMediaSection(this, parentElement, style);
1836 1833
        parentElement.addElement(section);
1837 1834
        adapt(section);
1838 1835
        return section;
1839 1836

  
1840 1837
    }
1841 1838

  
1842
    public DerivedUnitMediaSection createDerivedUnitMediaSection(ConversationHolder conversation,
1839
    public DerivedUnitMediaSection createDerivedUnitMediaSection(
1843 1840
            ICdmFormElement parentElement, int style) {
1844
        DerivedUnitMediaSection section = new DerivedUnitMediaSection(this, conversation, parentElement, style);
1841
        DerivedUnitMediaSection section = new DerivedUnitMediaSection(this, parentElement, style);
1845 1842
        parentElement.addElement(section);
1846 1843
        adapt(section);
1847 1844
        return section;
1848 1845

  
1849 1846
    }
1850 1847

  
1851
    /**
1852
     * @param definedTermClass
1853
     * @param formElement
1854
     * @param style
1855
     * @return
1856
     */
1857 1848
    public AbstractCdmDetailElement createDefinedTermDetailElement(Class definedTermClass,
1858 1849
            ICdmFormElement parentElement, int style) {
1859
        AbstractCdmDetailElement element = null;
1850
        AbstractCdmDetailElement<?> element = null;
1860 1851

  
1861 1852
        if (NamedArea.class.isAssignableFrom(definedTermClass)) {
1862 1853
            element = new eu.etaxonomy.taxeditor.ui.section.vocabulary.NamedAreaDetailElement(this, parentElement);
......
1867 1858
        } else if(definedTermClass.equals(Language.class)){
1868 1859
            element = new LanguageDetailElement(this, parentElement);
1869 1860
        } else {
1870
            element = new DefinedTermDetailElement(this, parentElement);
1861
            element = new DefinedTermDetailElement<>(this, parentElement);
1871 1862
        }
1872 1863

  
1873

  
1874 1864
        adapt(element);
1875 1865
        parentElement.addElement(element);
1876 1866
        return element;
1877 1867
    }
1878 1868

  
1879
    public CharacterNodeDetailSection createCharacterNodeDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1880
        CharacterNodeDetailSection section = new CharacterNodeDetailSection(this, conversation, parentElement, selectionProvider, style);
1869
    public CharacterNodeDetailSection createCharacterNodeDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1870
        CharacterNodeDetailSection section = new CharacterNodeDetailSection(this, parentElement, selectionProvider, style);
1881 1871
        addAndAdaptSection(parentElement, section);
1882 1872
        return section;
1883 1873
    }
1884 1874

  
1885
    public CharacterNodeDtoDetailSection createCharacterNodeDtoDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1886
        CharacterNodeDtoDetailSection section = new CharacterNodeDtoDetailSection(this, conversation, parentElement, selectionProvider, style);
1875
    public CharacterNodeDtoDetailSection createCharacterNodeDtoDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1876
        CharacterNodeDtoDetailSection section = new CharacterNodeDtoDetailSection(this, parentElement, selectionProvider, style);
1887 1877
        addAndAdaptSection(parentElement, section);
1888 1878
        return section;
1889 1879
    }
1890 1880

  
1891
    public CharacterDetailSection createCharacterDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1892
        CharacterDetailSection section = new CharacterDetailSection(this, conversation, parentElement, selectionProvider, style);
1881
    public CharacterDetailSection createCharacterDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1882
        CharacterDetailSection section = new CharacterDetailSection(this, parentElement, selectionProvider, style);
1893 1883
        addAndAdaptSection(parentElement, section);
1894 1884
        return section;
1895 1885
    }
1896 1886

  
1897
    public CharacterDtoDetailSection createCharacterDtoDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1898
        CharacterDtoDetailSection section = new CharacterDtoDetailSection(this, conversation, parentElement, selectionProvider, style);
1887
    public CharacterDtoDetailSection createCharacterDtoDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1888
        CharacterDtoDetailSection section = new CharacterDtoDetailSection(this, parentElement, selectionProvider, style);
1899 1889
        addAndAdaptSection(parentElement, section);
1900 1890
        return section;
1901 1891
    }
......
1948 1938

  
1949 1939

  
1950 1940
    //--------DetailSections---------
1951
    public NameDetailSection createNameDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1952
        NameDetailSection section = new NameDetailSection(this, conversation, parentElement, selectionProvider, style);
1941
    public NameDetailSection createNameDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1942
        NameDetailSection section = new NameDetailSection(this, parentElement, selectionProvider, style);
1953 1943
        addAndAdaptSection(parentElement, section);
1954 1944
        return section;
1955 1945
    }
1956 1946

  
1957
    public TermNodeDetailSection createFeatureNodeDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1958
        TermNodeDetailSection section = new TermNodeDetailSection(this, conversation, parentElement, selectionProvider, style);
1947
    public TermNodeDetailSection createFeatureNodeDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1948
        TermNodeDetailSection section = new TermNodeDetailSection(this, parentElement, selectionProvider, style);
1959 1949
        addAndAdaptSection(parentElement, section);
1960 1950
        return section;
1961 1951
    }
1962 1952

  
1963
    public TermTreeDetailSection createFeatureTreeDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1964
        TermTreeDetailSection section = new TermTreeDetailSection(this, conversation, parentElement, selectionProvider, style);
1953
    public TermTreeDetailSection createFeatureTreeDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1954
        TermTreeDetailSection section = new TermTreeDetailSection(this, parentElement, selectionProvider, style);
1965 1955
        addAndAdaptSection(parentElement, section);
1966 1956
        return section;
1967 1957
    }
1968
    public TermTreeDetailSectionForNode createFeatureTreeDetailSectionForTree(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1969
        TermTreeDetailSectionForNode section = new TermTreeDetailSectionForNode(this, conversation, parentElement, selectionProvider, style);
1958
    public TermTreeDetailSectionForNode createFeatureTreeDetailSectionForTree(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1959
        TermTreeDetailSectionForNode section = new TermTreeDetailSectionForNode(this, parentElement, selectionProvider, style);
1970 1960
        addAndAdaptSection(parentElement, section);
1971 1961
        return section;
1972 1962
    }
1973 1963

  
1974
    public ReferenceDetailSection createReferenceDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1975
        ReferenceDetailSection section = new ReferenceDetailSection(this, conversation, parentElement, selectionProvider, style);
1964
    public ReferenceDetailSection createReferenceDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1965
        ReferenceDetailSection section = new ReferenceDetailSection(this, parentElement, selectionProvider, style);
1976 1966
        addAndAdaptSection(parentElement, section);
1977 1967
        return section;
1978 1968
    }
1979 1969

  
1980
    public NomenclaturalSourceDetailSection createNomenclaturalReferenceDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1981
        NomenclaturalSourceDetailSection section = new NomenclaturalSourceDetailSection(this, conversation, parentElement, selectionProvider, style);
1970
    public NomenclaturalSourceDetailSection createNomenclaturalReferenceDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1971
        NomenclaturalSourceDetailSection section = new NomenclaturalSourceDetailSection(this, parentElement, selectionProvider, style);
1982 1972
        addAndAdaptSection(parentElement, section);
1983 1973
        return section;
1984 1974
    }
1985 1975

  
1986
    public OriginalSourceAdvancedSection createOriginalSourceAdvancedSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1987
        OriginalSourceAdvancedSection section = new OriginalSourceAdvancedSection(this, conversation, parentElement, selectionProvider, style);
1976
    public OriginalSourceAdvancedSection createOriginalSourceAdvancedSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
1977
        OriginalSourceAdvancedSection section = new OriginalSourceAdvancedSection(this, parentElement, selectionProvider, style);
1988 1978
        addAndAdaptSection(parentElement, section);
1989 1979
        return section;
1990 1980
    }
......
2001 1991
        return element;
2002 1992
    }
2003 1993

  
2004
    public SingleSourceSection createSingleSourceSection(ConversationHolder conversation, ICdmFormElement parentElement, CdmBase cdmEntity, ISelectionProvider selectionProvider, String label, int style){
2005
        SingleSourceSection section = new SingleSourceSection(this, conversation, parentElement, cdmEntity, selectionProvider, style, label);
1994
    public SingleSourceSection createSingleSourceSection(ICdmFormElement parentElement, CdmBase cdmEntity, ISelectionProvider selectionProvider, String label, int style){
1995
        SingleSourceSection section = new SingleSourceSection(this, parentElement, cdmEntity, selectionProvider, style, label);
2006 1996
        addAndAdaptSection(parentElement, section);
2007 1997
        return section;
2008 1998
    }
2009 1999

  
2010
    public TaxonBaseDetailSection createTaxonBaseDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2011
        TaxonBaseDetailSection section = new TaxonBaseDetailSection(this, conversation, parentElement, selectionProvider, style);
2000
    public TaxonBaseDetailSection createTaxonBaseDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2001
        TaxonBaseDetailSection section = new TaxonBaseDetailSection(this, parentElement, selectionProvider, style);
2012 2002
        addAndAdaptSection(parentElement, section);
2013 2003
        return section;
2014 2004
    }
......
2019 2009
//        return section;
2020 2010
//    }
2021 2011

  
2022
    public AuthorshipDetailSection createAuthorshipDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2023
        AuthorshipDetailSection section = new AuthorshipDetailSection(this, conversation, parentElement, selectionProvider, style);
2012
    public AuthorshipDetailSection createAuthorshipDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2013
        AuthorshipDetailSection section = new AuthorshipDetailSection(this, parentElement, selectionProvider, style);
2024 2014
        addAndAdaptSection(parentElement, section);
2025 2015
        return section;
2026 2016
    }
2027 2017

  
2028
    public TeamOrPersonBaseDetailSection createTeamOrPersonBaseDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2029
        TeamOrPersonBaseDetailSection section = new TeamOrPersonBaseDetailSection(this, conversation, parentElement, selectionProvider, style);
2018
    public TeamOrPersonBaseDetailSection createTeamOrPersonBaseDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2019
        TeamOrPersonBaseDetailSection section = new TeamOrPersonBaseDetailSection(this, parentElement, selectionProvider, style);
2030 2020
        addAndAdaptSection(parentElement, section);
2031 2021
        return section;
2032 2022
    }
2033 2023

  
2034
    public TeamDetailSection createTeamDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2035
        TeamDetailSection section = new TeamDetailSection(this, conversation, parentElement, null, style);
2024
    public TeamDetailSection createTeamDetailSection(ICdmFormElement parentElement, int style){
2025
        TeamDetailSection section = new TeamDetailSection(this, parentElement, null, style);
2036 2026
        addAndAdaptSection(parentElement, section);
2037 2027
        return section;
2038 2028
    }
2039 2029

  
2040
    public PersonDetailSection createPersonDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2041
        PersonDetailSection section = new PersonDetailSection(this, conversation, parentElement, null, style);
2030
    public PersonDetailSection createPersonDetailSection(ICdmFormElement parentElement, int style){
2031
        PersonDetailSection section = new PersonDetailSection(this, parentElement, null, style);
2042 2032
        addAndAdaptSection(parentElement, section);
2043 2033
        return section;
2044 2034
    }
2045 2035

  
2046
    public DescriptionDetailSection createDescriptionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2047
        DescriptionDetailSection section = new DescriptionDetailSection(this, conversation, parentElement, selectionProvider, style);
2036
    public DescriptionDetailSection createDescriptionDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2037
        DescriptionDetailSection section = new DescriptionDetailSection(this, parentElement, selectionProvider, style);
2048 2038
        addAndAdaptSection(parentElement, section);
2049 2039
        return section;
2050 2040
    }
2051 2041

  
2052
    public DescriptionElementDetailSection createDescriptionElementDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2053
        DescriptionElementDetailSection section = new DescriptionElementDetailSection(this, conversation, parentElement, selectionProvider, style);
2042
    public DescriptionElementDetailSection createDescriptionElementDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2043
        DescriptionElementDetailSection section = new DescriptionElementDetailSection(this, parentElement, selectionProvider, style);
2054 2044
        addAndAdaptSection(parentElement, section);
2055 2045
        return section;
2056 2046
    }
2057 2047

  
2058
    public ParsingMessagesSection createParsingMessagesSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2059
        ParsingMessagesSection section = new ParsingMessagesSection(this, conversation, parentElement, selectionProvider, style);
2048
    public ParsingMessagesSection createParsingMessagesSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2049
        ParsingMessagesSection section = new ParsingMessagesSection(this, parentElement, selectionProvider, style);
2060 2050
        addAndAdaptSection(parentElement, section);
2061 2051
        return section;
2062 2052
    }
2063 2053

  
2064 2054

  
2065 2055

  
2066
    public NonViralNameDetailSection createNonViralNameDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, boolean nameChoosable, int style){
2067
        NonViralNameDetailSection section = new NonViralNameDetailSection(this, conversation, parentElement, selectionProvider, nameChoosable, style);
2056
    public NonViralNameDetailSection createNonViralNameDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, boolean nameChoosable, int style){
2057
        NonViralNameDetailSection section = new NonViralNameDetailSection(this, parentElement, selectionProvider, nameChoosable, style);
2068 2058
        addAndAdaptSection(parentElement, section);
2069 2059
        return section;
2070 2060
    }
2071 2061

  
2072
    public MediaDetailsSection createMediaDetailsSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2073
        MediaDetailsSection section = new MediaDetailsSection(this, conversation, parentElement, selectionProvider, style);
2062
    public MediaDetailsSection createMediaDetailsSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2063
        MediaDetailsSection section = new MediaDetailsSection(this, parentElement, selectionProvider, style);
2074 2064
        addAndAdaptSection(parentElement, section);
2075 2065
        return section;
2076 2066
    }
2077 2067

  
2078
    public FieldUnitFacadeDetailSection createFieldUnitFacadeDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2079
        FieldUnitFacadeDetailSection section = new FieldUnitFacadeDetailSection(this, conversation, parentElement, selectionProvider, style);
2068
    public FieldUnitFacadeDetailSection createFieldUnitFacadeDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2069
        FieldUnitFacadeDetailSection section = new FieldUnitFacadeDetailSection(this, parentElement, selectionProvider, style);
2080 2070
        addAndAdaptSection(parentElement, section);
2081 2071
        return section;
2082 2072
    }
2083 2073

  
2084
    public GatheringEventDetailSection createGatheringEventDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2085
        GatheringEventDetailSection section = new GatheringEventDetailSection(this, conversation, parentElement, selectionProvider, style);
2074
    public GatheringEventDetailSection createGatheringEventDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2075
        GatheringEventDetailSection section = new GatheringEventDetailSection(this, parentElement, selectionProvider, style);
2086 2076
        addAndAdaptSection(parentElement, section);
2087 2077
        return section;
2088 2078
    }
2089 2079

  
2090
    public DerivedUnitBaseDetailSection createDerivedUnitBaseDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2091
        DerivedUnitBaseDetailSection section = new DerivedUnitBaseDetailSection(this, conversation, parentElement, selectionProvider, style);
2080
    public DerivedUnitBaseDetailSection createDerivedUnitBaseDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2081
        DerivedUnitBaseDetailSection section = new DerivedUnitBaseDetailSection(this, parentElement, selectionProvider, style);
2092 2082
        addAndAdaptSection(parentElement, section);
2093 2083
        return section;
2094 2084
    }
2095 2085

  
2096
    public DerivedUnitTypeDesignationSection createDerivedUnitTypeDesignationSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2097
        DerivedUnitTypeDesignationSection section = new DerivedUnitTypeDesignationSection(this, conversation, parentElement, style);
2086
    public DerivedUnitTypeDesignationSection createDerivedUnitTypeDesignationSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2087
        DerivedUnitTypeDesignationSection section = new DerivedUnitTypeDesignationSection(this, parentElement, style);
2098 2088
        addAndAdaptSection(parentElement, section);
2099 2089
        return section;
2100 2090
    }
2101 2091

  
2102
    public TaxonAssociationDetailSection createTaxonAssociationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2103
        TaxonAssociationDetailSection section = new TaxonAssociationDetailSection(this, conversation, parentElement, selectionProvider, style);
2092
    public TaxonAssociationDetailSection createTaxonAssociationDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2093
        TaxonAssociationDetailSection section = new TaxonAssociationDetailSection(this, parentElement, selectionProvider, style);
2104 2094
        addAndAdaptSection(parentElement, section);
2105 2095
        return section;
2106 2096
    }
2107 2097

  
2108
    public OriginalLabelDataSection createOriginalLabelDataSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2109
        OriginalLabelDataSection section = new OriginalLabelDataSection(this, conversation, parentElement, selectionProvider, style);
2098
    public OriginalLabelDataSection createOriginalLabelDataSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2099
        OriginalLabelDataSection section = new OriginalLabelDataSection(this, parentElement, selectionProvider, style);
2110 2100
        addAndAdaptSection(parentElement, section);
2111 2101
        return section;
2112 2102
    }
2113 2103

  
2114
    public NaturalLanguageSection createNaturalLanguageSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2115
        NaturalLanguageSection section = new NaturalLanguageSection(this, conversation, parentElement, selectionProvider, style);
2104
    public NaturalLanguageSection createNaturalLanguageSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2105
        NaturalLanguageSection section = new NaturalLanguageSection(this, parentElement, selectionProvider, style);
2116 2106
        addAndAdaptSection(parentElement, section);
2117 2107
        return section;
2118 2108
    }
2119 2109

  
2120
    public FeatureDistributionDetailSection createFeatureDistributionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2121
        FeatureDistributionDetailSection section = new FeatureDistributionDetailSection(this, conversation, parentElement, selectionProvider, style);
2110
    public FeatureDistributionDetailSection createFeatureDistributionDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2111
        FeatureDistributionDetailSection section = new FeatureDistributionDetailSection(this, parentElement, selectionProvider, style);
2122 2112
        addAndAdaptSection(parentElement, section);
2123 2113
        return section;
2124 2114
    }
2125 2115

  
2126
    public ClassificationDetailSection createClassificationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2127
        ClassificationDetailSection section = new ClassificationDetailSection(this, conversation, parentElement, selectionProvider, style);
2116
    public ClassificationDetailSection createClassificationDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2117
        ClassificationDetailSection section = new ClassificationDetailSection(this, parentElement, selectionProvider, style);
2128 2118
        addAndAdaptSection(parentElement, section);
2129 2119
        return section;
2130 2120
    }
2131 2121

  
2132
    public TaxonNodeDetailSection createTaxonNodeDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2133
        TaxonNodeDetailSection section = new TaxonNodeDetailSection(this, conversation, parentElement, selectionProvider, style);
2122
    public TaxonNodeDetailSection createTaxonNodeDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2123
        TaxonNodeDetailSection section = new TaxonNodeDetailSection(this, parentElement, selectionProvider, style);
2134 2124
        addAndAdaptSection(parentElement, section);
2135 2125
        return section;
2136 2126
    }
2137 2127

  
2138
    public PolytomousKeyDetailSection createPolytomousKeyDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2139
        PolytomousKeyDetailSection section = new PolytomousKeyDetailSection(this, conversation, parentElement, selectionProvider, style);
2128
    public PolytomousKeyDetailSection createPolytomousKeyDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2129
        PolytomousKeyDetailSection section = new PolytomousKeyDetailSection(this, parentElement, selectionProvider, style);
2140 2130
        addAndAdaptSection(parentElement, section);
2141 2131
        return section;
2142 2132
    }
2143 2133

  
2144
    public PolytomousKeyNodeDetailSection createPolytomousKeyNodeDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2145
        PolytomousKeyNodeDetailSection section = new PolytomousKeyNodeDetailSection(this, conversation, parentElement, selectionProvider, style);
2134
    public PolytomousKeyNodeDetailSection createPolytomousKeyNodeDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2135
        PolytomousKeyNodeDetailSection section = new PolytomousKeyNodeDetailSection(this, parentElement, selectionProvider, style);
2146 2136
        addAndAdaptSection(parentElement, section);
2147 2137
        return section;
2148 2138
    }
2149 2139

  
2150
    public InstitutionDetailSection createInstitutionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2151
        InstitutionDetailSection section = new InstitutionDetailSection(this, conversation, parentElement, selectionProvider, style);
2140
    public InstitutionDetailSection createInstitutionDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2141
        InstitutionDetailSection section = new InstitutionDetailSection(this, parentElement, selectionProvider, style);
2152 2142
        addAndAdaptSection(parentElement, section);
2153 2143
        return section;
2154 2144
    }
2155 2145

  
2156
    public FieldUnitFacadeGeneralDetailSection createFieldUnitFacadeGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2157
        FieldUnitFacadeGeneralDetailSection section = new FieldUnitFacadeGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2146
    public FieldUnitFacadeGeneralDetailSection createFieldUnitFacadeGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2147
        FieldUnitFacadeGeneralDetailSection section = new FieldUnitFacadeGeneralDetailSection(this, parentElement, selectionProvider, style);
2158 2148
        addAndAdaptSection(parentElement, section);
2159 2149
        return section;
2160 2150
    }
2161 2151

  
2162
    public DerivedUnitGeneralDetailSection createDerivedUnitGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2163
        DerivedUnitGeneralDetailSection section = new DerivedUnitGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2152
    public DerivedUnitGeneralDetailSection createDerivedUnitGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2153
        DerivedUnitGeneralDetailSection section = new DerivedUnitGeneralDetailSection(this, parentElement, selectionProvider, style);
2164 2154
        addAndAdaptSection(parentElement, section);
2165 2155
        return section;
2166 2156
    }
2167 2157

  
2168
    public PreservedSpecimenGeneralDetailSection createPreservedSpecimenGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2169
        PreservedSpecimenGeneralDetailSection section = new PreservedSpecimenGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2158
    public PreservedSpecimenGeneralDetailSection createPreservedSpecimenGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2159
        PreservedSpecimenGeneralDetailSection section = new PreservedSpecimenGeneralDetailSection(this, parentElement, selectionProvider, style);
2170 2160
        addAndAdaptSection(parentElement, section);
2171 2161
        return section;
2172 2162
    }
2173 2163

  
2174
    public TissueSampleGeneralDetailSection createTissueSampleGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2175
        TissueSampleGeneralDetailSection section = new TissueSampleGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2164
    public TissueSampleGeneralDetailSection createTissueSampleGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2165
        TissueSampleGeneralDetailSection section = new TissueSampleGeneralDetailSection(this, parentElement, selectionProvider, style);
2176 2166
        addAndAdaptSection(parentElement, section);
2177 2167
        return section;
2178 2168
    }
2179 2169

  
2180 2170
    public DnaSampleGeneralDetailSection createDnaSampleGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2181
        DnaSampleGeneralDetailSection section = new DnaSampleGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2171
        DnaSampleGeneralDetailSection section = new DnaSampleGeneralDetailSection(this, parentElement, selectionProvider, style);
2182 2172
        addAndAdaptSection(parentElement, section);
2183 2173
        return section;
2184 2174
    }
2185 2175

  
2186
    public DnaSamplePreparationPreservationSection createDnaSamplePreparationPreservationSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2187
        DnaSamplePreparationPreservationSection section = new DnaSamplePreparationPreservationSection(this, conversation, parentElement, selectionProvider, style);
2176
    public DnaSamplePreparationPreservationSection createDnaSamplePreparationPreservationSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2177
        DnaSamplePreparationPreservationSection section = new DnaSamplePreparationPreservationSection(this, parentElement, selectionProvider, style);
2188 2178
        addAndAdaptSection(parentElement, section);
2189 2179
        return section;
2190 2180
    }
2191 2181

  
2192
    public DnaQualityDetailSection createDnaQualityDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2193
        DnaQualityDetailSection section = new DnaQualityDetailSection(this, conversation, parentElement, selectionProvider, style);
2182
    public DnaQualityDetailSection createDnaQualityDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2183
        DnaQualityDetailSection section = new DnaQualityDetailSection(this, parentElement, selectionProvider, style);
2194 2184
        addAndAdaptSection(parentElement, section);
2195 2185
        return section;
2196 2186
    }
2197 2187

  
2198
    public SequenceGeneralDetailSection createSequenceGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2199
        SequenceGeneralDetailSection section = new SequenceGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2188
    public SequenceGeneralDetailSection createSequenceGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2189
        SequenceGeneralDetailSection section = new SequenceGeneralDetailSection(this, parentElement, selectionProvider, style);
2200 2190
        addAndAdaptSection(parentElement, section);
2201 2191
        return section;
2202 2192
    }
2203 2193

  
2204
    public SequenceContigFileCollectionDetailSection createSequenceContigFileCollectionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2205
        SequenceContigFileCollectionDetailSection section = new SequenceContigFileCollectionDetailSection(this, conversation, parentElement, style);
2194
    public SequenceContigFileCollectionDetailSection createSequenceContigFileCollectionDetailSection(ICdmFormElement parentElement, int style){
2195
        SequenceContigFileCollectionDetailSection section = new SequenceContigFileCollectionDetailSection(this, parentElement, style);
2206 2196
        addAndAdaptSection(parentElement, section);
2207 2197
        return section;
2208 2198
    }
2209 2199

  
2210
    public SingleReadPherogramCollectionDetailSection createSingleReadPherogramCollectionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2211
        SingleReadPherogramCollectionDetailSection section = new SingleReadPherogramCollectionDetailSection(this, conversation, parentElement, style);
2200
    public SingleReadPherogramCollectionDetailSection createSingleReadPherogramCollectionDetailSection(ICdmFormElement parentElement, int style){
2201
        SingleReadPherogramCollectionDetailSection section = new SingleReadPherogramCollectionDetailSection(this, parentElement, style);
2212 2202
        addAndAdaptSection(parentElement, section);
2213 2203
        return section;
2214 2204
    }
2215 2205

  
2216
    public SequenceReferenceCollectionDetailSection createSequenceReferenceCollectionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2217
        SequenceReferenceCollectionDetailSection section = new SequenceReferenceCollectionDetailSection(this, conversation, parentElement, style);
2206
    public SequenceReferenceCollectionDetailSection createSequenceReferenceCollectionDetailSection(ICdmFormElement parentElement, int style){
2207
        SequenceReferenceCollectionDetailSection section = new SequenceReferenceCollectionDetailSection(this, parentElement, style);
2218 2208
        addAndAdaptSection(parentElement, section);
2219 2209
        return section;
2220 2210
    }
2221 2211

  
2222
    public SingleReadGeneralDetailSection createSingleReadGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2223
        SingleReadGeneralDetailSection section = new SingleReadGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2212
    public SingleReadGeneralDetailSection createSingleReadGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2213
        SingleReadGeneralDetailSection section = new SingleReadGeneralDetailSection(this, parentElement, selectionProvider, style);
2224 2214
        addAndAdaptSection(parentElement, section);
2225 2215
        return section;
2226 2216
    }
2227 2217

  
2228
    public AmplificationGeneralDetailSection createAmplificationGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2229
        AmplificationGeneralDetailSection section = new AmplificationGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2218
    public AmplificationGeneralDetailSection createAmplificationGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2219
        AmplificationGeneralDetailSection section = new AmplificationGeneralDetailSection(this, parentElement, selectionProvider, style);
2230 2220
        addAndAdaptSection(parentElement, section);
2231 2221
        return section;
2232 2222
    }
2233 2223

  
2234
    public AmplificationPrimerDetailSection createAmplificationPrimerDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2235
        AmplificationPrimerDetailSection section = new AmplificationPrimerDetailSection(this, conversation, parentElement, selectionProvider, style);
2224
    public AmplificationPrimerDetailSection createAmplificationPrimerDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2225
        AmplificationPrimerDetailSection section = new AmplificationPrimerDetailSection(this, parentElement, selectionProvider, style);
2236 2226
        addAndAdaptSection(parentElement, section);
2237 2227
        return section;
2238 2228
    }
2239 2229

  
2240
    public AmplificationCloningDetailSection createAmplificationCloningDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2241
        AmplificationCloningDetailSection section = new AmplificationCloningDetailSection(this, conversation, parentElement, selectionProvider, style);
2230
    public AmplificationCloningDetailSection createAmplificationCloningDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2231
        AmplificationCloningDetailSection section = new AmplificationCloningDetailSection(this, parentElement, selectionProvider, style);
2242 2232
        addAndAdaptSection(parentElement, section);
2243 2233
        return section;
2244 2234
    }
......
2249 2239
        return section;
2250 2240
    }
2251 2241

  
2252
    public MediaSpecimenGeneralDetailSection createMediaSpecimenGeneralDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2253
        MediaSpecimenGeneralDetailSection section = new MediaSpecimenGeneralDetailSection(this, conversation, parentElement, selectionProvider, style);
2242
    public MediaSpecimenGeneralDetailSection createMediaSpecimenGeneralDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2243
        MediaSpecimenGeneralDetailSection section = new MediaSpecimenGeneralDetailSection(this, parentElement, selectionProvider, style);
2254 2244
        addAndAdaptSection(parentElement, section);
2255 2245
        return section;
2256 2246
    }
2257 2247

  
2258
    public HybridDetailSection createHybridDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2259
        HybridDetailSection section = new HybridDetailSection(this, conversation, parentElement, selectionProvider, style);
2248
    public HybridDetailSection createHybridDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2249
        HybridDetailSection section = new HybridDetailSection(this, parentElement, selectionProvider, style);
2260 2250
        addAndAdaptSection(parentElement, section);
2261 2251
        return section;
2262 2252
    }
2263 2253

  
2264
    public UserDetailSection createUserDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2265
        UserDetailSection section = new UserDetailSection(this, conversation, parentElement, selectionProvider, style);
2254
    public UserDetailSection createUserDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2255
        UserDetailSection section = new UserDetailSection(this, parentElement, selectionProvider, style);
2266 2256
        addAndAdaptSection(parentElement, section);
2267 2257
        return section;
2268 2258
    }
2269 2259

  
2270
    public GroupDetailSection createGroupDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2271
        GroupDetailSection section = new GroupDetailSection(this, conversation, parentElement, selectionProvider, style);
2260
    public GroupDetailSection createGroupDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2261
        GroupDetailSection section = new GroupDetailSection(this, parentElement, selectionProvider, style);
2272 2262
        addAndAdaptSection(parentElement, section);
2273 2263
        return section;
2274 2264
    }
2275 2265

  
2276
    public DeterminationDetailSection createDeterminationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2277
        DeterminationDetailSection section = new DeterminationDetailSection(this, conversation, parentElement, selectionProvider, style);
2266
    public DeterminationDetailSection createDeterminationDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2267
        DeterminationDetailSection section = new DeterminationDetailSection(this, parentElement, selectionProvider, style);
2278 2268
        addAndAdaptSection(parentElement, section);
2279 2269
        return section;
2280 2270
    }
2281 2271

  
2282
    public SampleDesignationDetailSection createSampleDesignationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2283
        SampleDesignationDetailSection section = new SampleDesignationDetailSection(this, conversation, parentElement, selectionProvider, style);
2272
    public SampleDesignationDetailSection createSampleDesignationDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2273
        SampleDesignationDetailSection section = new SampleDesignationDetailSection(this, parentElement, selectionProvider, style);
2284 2274
        addAndAdaptSection(parentElement, section);
2285 2275
        return section;
2286 2276
    }
2287 2277

  
2288
    public TaxonRelationshipDetailSection createTaxonRelationshipDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2289
        TaxonRelationshipDetailSection section = new TaxonRelationshipDetailSection(this, conversation, parentElement, selectionProvider, style, true);
2278
    public TaxonRelationshipDetailSection createTaxonRelationshipDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2279
        TaxonRelationshipDetailSection section = new TaxonRelationshipDetailSection(this, parentElement, selectionProvider, style, true);
2290 2280
        addAndAdaptSection(parentElement, section);
2291 2281
        return section;
2292 2282
    }
2293 2283

  
2294
    public ReferencedEntityDetailSection createReferencedEntityDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2295
        ReferencedEntityDetailSection section = new ReferencedEntityDetailSection(this, conversation, parentElement, selectionProvider, style);
2284
    public ReferencedEntityDetailSection createReferencedEntityDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2285
        ReferencedEntityDetailSection section = new ReferencedEntityDetailSection(this, parentElement, selectionProvider, style);
2296 2286
        addAndAdaptSection(parentElement, section);
2297 2287
        return section;
2298 2288
    }
2299 2289

  
2300
    public TermVocabularyDetailSection createTermVocabularyDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2301
        TermVocabularyDetailSection section = new TermVocabularyDetailSection(this, conversation, parentElement, selectionProvider, style);
2290
    public TermVocabularyDetailSection createTermVocabularyDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2291
        TermVocabularyDetailSection section = new TermVocabularyDetailSection(this, parentElement, selectionProvider, style);
2302 2292
        addAndAdaptSection(parentElement, section);
2303 2293
        return section;
2304 2294
    }
2305 2295

  
2306
    public GatheringEventDetailSection createGatheringSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2307
        GatheringEventDetailSection section = new GatheringEventDetailSection(this, conversation, parentElement, selectionProvider, style);
2296
    public GatheringEventDetailSection createGatheringSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2297
        GatheringEventDetailSection section = new GatheringEventDetailSection(this, parentElement, selectionProvider, style);
2308 2298
        addAndAdaptSection(parentElement, section);
2309 2299
        return section;
2310 2300
    }
......
2315 2305
        return section;
2316 2306
    }
2317 2307

  
2318
    public UseRecordDetailSection createUseRecordDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2319
        UseRecordDetailSection section = new UseRecordDetailSection(this, conversation, parentElement, selectionProvider, style);
2308
    public UseRecordDetailSection createUseRecordDetailSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
2309
        UseRecordDetailSection section = new UseRecordDetailSection(this, parentElement, selectionProvider, style);
2320 2310
        addAndAdaptSection(parentElement, section);
2321 2311
        return section;
2322 2312
    }
......
2434 2424
        return element;
2435 2425
    }
2436 2426

  
2437
    public TaxonNodeAgentRelationCollectionSection createTaxonNodeAgentRelationCollectionElement(ICdmFormElement parentElement, ConversationHolder conversation, int style){
2438
        TaxonNodeAgentRelationCollectionSection element = new TaxonNodeAgentRelationCollectionSection(this, conversation, parentElement, style);
2427
    public TaxonNodeAgentRelationCollectionSection createTaxonNodeAgentRelationCollectionElement(ICdmFormElement parentElement, int style){
2428
        TaxonNodeAgentRelationCollectionSection element = new TaxonNodeAgentRelationCollectionSection(this, parentElement, style);
2439 2429
        adapt(element);
2440 2430
        parentElement.addElement(element);
2441 2431

  
......
2692 2682
    }
2693 2683

  
2694 2684
    //--------EntityCollectionSection----------
2695
    public TeamMemberSection createTeamMemberSection(ConversationHolder conversation, ICdmFormElement parentElement, int style, boolean isNomenclatural, boolean isCollector){
2696
        TeamMemberSection section = new TeamMemberSection(this, conversation, parentElement, style, isNomenclatural, isCollector);
2685
    public TeamMemberSection createTeamMemberSection(ICdmFormElement parentElement, int style, boolean isNomenclatural, boolean isCollector){
2686
        TeamMemberSection section = new TeamMemberSection(this, parentElement, style, isNomenclatural, isCollector);
2697 2687
        addAndAdaptSection(parentElement, section);
2698 2688
        return section;
2699 2689
    }
2700 2690

  
2701
    public InapplicableIfEntityCollectionSection createInapplicableIfEntityCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2702
        InapplicableIfEntityCollectionSection section = new InapplicableIfEntityCollectionSection(this, conversation, parentElement, style);
2691
    public InapplicableIfEntityCollectionSection createInapplicableIfEntityCollectionSection(ICdmFormElement parentElement, int style){
2692
        InapplicableIfEntityCollectionSection section = new InapplicableIfEntityCollectionSection(this, parentElement, style);
2703 2693
        addAndAdaptSection(parentElement, section);
2704 2694
        return section;
2705 2695
    }
2706 2696

  
2707
    public OnlyApplicableIfEntityCollectionSection createOnlyApplicableIfEntityCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2708
        OnlyApplicableIfEntityCollectionSection section = new OnlyApplicableIfEntityCollectionSection(this, conversation, parentElement, style);
2697
    public OnlyApplicableIfEntityCollectionSection createOnlyApplicableIfEntityCollectionSection(ICdmFormElement parentElement, int style){
2698
        OnlyApplicableIfEntityCollectionSection section = new OnlyApplicableIfEntityCollectionSection(this, parentElement, style);
2709 2699
        addAndAdaptSection(parentElement, section);
2710 2700
        return section;
2711 2701
    }
2712 2702

  
2713
    public InapplicableIfEntityCollectionSectionForNode createInapplicableIfEntityCollectionSectionForNode(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2714
        InapplicableIfEntityCollectionSectionForNode section = new InapplicableIfEntityCollectionSectionForNode(this, conversation, parentElement, style);
2703
    public InapplicableIfEntityCollectionSectionForNode createInapplicableIfEntityCollectionSectionForNode(ICdmFormElement parentElement, int style){
2704
        InapplicableIfEntityCollectionSectionForNode section = new InapplicableIfEntityCollectionSectionForNode(this, parentElement, style);
2715 2705
        addAndAdaptSection(parentElement, section);
2716 2706
        return section;
2717 2707
    }
2718 2708

  
2719
    public OnlyApplicableIfEntityCollectionSectionForNode createOnlyApplicableIfEntityCollectionSectionForNode(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2720
        OnlyApplicableIfEntityCollectionSectionForNode section = new OnlyApplicableIfEntityCollectionSectionForNode(this, conversation, parentElement, style);
2709
    public OnlyApplicableIfEntityCollectionSectionForNode createOnlyApplicableIfEntityCollectionSectionForNode(ICdmFormElement parentElement, int style){
2710
        OnlyApplicableIfEntityCollectionSectionForNode section = new OnlyApplicableIfEntityCollectionSectionForNode(this, parentElement, style);
2721 2711
        addAndAdaptSection(parentElement, section);
2722 2712
        return section;
2723 2713
    }
2724 2714

  
2725
    public AnnotationSection createAnnotationSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2726
        AnnotationSection section = new AnnotationSection(this, conversation, parentElement, style);
2715
    public AnnotationSection createAnnotationSection(ICdmFormElement parentElement, int style){
2716
        AnnotationSection section = new AnnotationSection(this, parentElement, style);
2727 2717
        addAndAdaptSection(parentElement, section);
2728 2718
        return section;
2729 2719
    }
2730 2720

  
2731
    public CreditSection createCreditSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2732
        CreditSection section = new CreditSection(this, conversation, parentElement, style);
2721
    public CreditSection createCreditSection(ICdmFormElement parentElement, int style){
2722
        CreditSection section = new CreditSection(this, parentElement, style);
2733 2723
        addAndAdaptSection(parentElement, section);
2734 2724
        return section;
2735 2725
    }
2736
    public DescriptionElementSourceSection createDescriptionElementSourceSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2737
        DescriptionElementSourceSection section = new DescriptionElementSourceSection(this, conversation, parentElement, style);
2726
    public DescriptionElementSourceSection createDescriptionElementSourceSection(ICdmFormElement parentElement, int style){
2727
        DescriptionElementSourceSection section = new DescriptionElementSourceSection(this, parentElement, style);
2738 2728
        addAndAdaptSection(parentElement, section);
2739 2729
        return section;
2740 2730
    }
......
2744 2734
        return section;
2745 2735
    }
2746 2736

  
2747
    public ExtensionSection createExtensionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2748
        ExtensionSection section = new ExtensionSection(this, conversation, parentElement, style);
2737
    public ExtensionSection createExtensionSection(ICdmFormElement parentElement, int style){
2738
        ExtensionSection section = new ExtensionSection(this, parentElement, style);
2749 2739
        addAndAdaptSection(parentElement, section);
2750 2740
        return section;
2751 2741
    }
2752 2742

  
2753
    public MarkerSection createMarkerSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2754
        MarkerSection section = new MarkerSection(this, conversation, parentElement, style);
2743
    public MarkerSection createMarkerSection(ICdmFormElement parentElement, int style){
2744
        MarkerSection section = new MarkerSection(this, parentElement, style);
2755 2745
        addAndAdaptSection(parentElement, section);
2756 2746
        return section;
2757 2747
    }
2758 2748

  
2759
    public MediaSection createMediaSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2760
        MediaSection section = new MediaSection(this, conversation, parentElement, style);
2749
    public MediaSection createMediaSection(ICdmFormElement parentElement, int style){
2750
        MediaSection section = new MediaSection(this, parentElement, style);
2761 2751
        addAndAdaptSection(parentElement, section);
2762 2752
        return section;
2763 2753
    }
2764 2754

  
2765
    public DescriptionElementMediaSection createDescriptionElementMediaSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2766
        DescriptionElementMediaSection section = new DescriptionElementMediaSection(this, conversation, parentElement, style);
2755
    public DescriptionElementMediaSection createDescriptionElementMediaSection(ICdmFormElement parentElement, int style){
2756
        DescriptionElementMediaSection section = new DescriptionElementMediaSection(this, parentElement, style);
2767 2757
        addAndAdaptSection(parentElement, section);
2768 2758
        return section;
2769 2759
    }
2770 2760

  
2771
    public MediaRepresentationSection createMediaRepresentationSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2772
        MediaRepresentationSection section = new MediaRepresentationSection(this, conversation, parentElement, style);
2761
    public MediaRepresentationSection createMediaRepresentationSection(ICdmFormElement parentElement, int style){
2762
        MediaRepresentationSection section = new MediaRepresentationSection(this, parentElement, style);
2773 2763
        addAndAdaptSection(parentElement, section);
2774 2764
        return section;
2775 2765
    }
2776 2766

  
2777
    public MediaRepresentationPartSection createMediaRepresentationPartSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2778
        MediaRepresentationPartSection section = new MediaRepresentationPartSection(this, conversation, parentElement, style);
2767
    public MediaRepresentationPartSection createMediaRepresentationPartSection(ICdmFormElement parentElement, int style){
2768
        MediaRepresentationPartSection section = new MediaRepresentationPartSection(this, parentElement, style);
2779 2769
        addAndAdaptSection(parentElement, section);
2780 2770
        return section;
2781 2771
    }
2782 2772

  
2783
    public ModifierSection createModifierSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2784
        ModifierSection section = new ModifierSection(this, conversation, parentElement, style);
2773
    public ModifierSection createModifierSection(ICdmFormElement parentElement, int style){
2774
        ModifierSection section = new ModifierSection(this, parentElement, style);
2785 2775
        addAndAdaptSection(parentElement, section);
2786 2776
        return section;
2787 2777
    }
2788 2778

  
2789
    public NomenclaturalStatusSection createNomenclaturalStatusSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2790
        NomenclaturalStatusSection section = new NomenclaturalStatusSection(this, conversation, parentElement, style);
2779
    public NomenclaturalStatusSection createNomenclaturalStatusSection(ICdmFormElement parentElement, int style){
2780
        NomenclaturalStatusSection section = new NomenclaturalStatusSection(this, parentElement, style);
2791 2781
        addAndAdaptSection(parentElement, section);
2792 2782
        return section;
2793 2783
    }
2794 2784

  
2795
    public NameRelationshipDetailSection createNameRelationshipDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2796
        NameRelationshipDetailSection section = new NameRelationshipDetailSection(this, conversation, parentElement, style);
2785
    public NameRelationshipDetailSection createNameRelationshipDetailSection(ICdmFormElement parentElement, int style){
2786
        NameRelationshipDetailSection section = new NameRelationshipDetailSection(this, parentElement, style);
2797 2787
        addAndAdaptSection(parentElement, section);
2798 2788
        return section;
2799 2789
    }
2800 2790

  
2801
//    public ProtologueSection createProtologueSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2802
//        ProtologueSection section = new ProtologueSection(this, conversation, parentElement, style);
2803
//        addAndAdaptSection(parentElement, section);
2804
//        return section;
2805
//    }
2806
    public ExternalLinksSection createExternalLinksSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2807
        ExternalLinksSection section = new ExternalLinksSection(this, conversation, parentElement, style);
2791
    public ExternalLinksSection createExternalLinksSection(ICdmFormElement parentElement, int style){
2792
        ExternalLinksSection section = new ExternalLinksSection(this, parentElement, style);
2808 2793
        addAndAdaptSection(parentElement, section);
2809 2794
        return section;
2810 2795
    }
2811 2796

  
2812
    public ExternalLinksSection createExternalLinksSection(ConversationHolder conversation, ICdmFormElement parentElement, String label, int style){
2813
        ExternalLinksSection section = new ExternalLinksSection(this, conversation, parentElement, true, label, style);
2797
    public ExternalLinksSection createExternalLinksSection(ICdmFormElement parentElement, String label, int style){
2798
        ExternalLinksSection section = new ExternalLinksSection(this, parentElement, true, label, style);
2814 2799
        addAndAdaptSection(parentElement, section);
2815 2800
        return section;
2816 2801
    }
2817 2802

  
2818
    public ExternalLinksSection createExternalLinksSection(ConversationHolder conversation, ICdmFormElement parentElement, String label, boolean isWithTypeAndDesc, int style){
2819
        ExternalLinksSection section = new ExternalLinksSection(this, conversation, parentElement, isWithTypeAndDesc, label, style);
2803
    public ExternalLinksSection createExternalLinksSection(ICdmFormElement parentElement, String label, boolean isWithTypeAndDesc, int style){
2804
        ExternalLinksSection section = new ExternalLinksSection(this, parentElement, isWithTypeAndDesc, label, style);
2820 2805
        addAndAdaptSection(parentElement, section);
2821 2806
        return section;
2822 2807
    }
2823 2808

  
2824
    public RightsSection createRightsSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2825
        RightsSection section = new RightsSection(this, conversation, parentElement, style);
2809
    public RightsSection createRightsSection(ICdmFormElement parentElement, int style){
2810
        RightsSection section = new RightsSection(this, parentElement, style);
2826 2811

  
2827 2812
        addAndAdaptSection(parentElement, section);
2828 2813
        return section;
2829 2814
    }
2830 2815

  
2831
    public SourceSection createSourceSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2832
        SourceSection section = new SourceSection(this, conversation, parentElement, style);
2816
    public SourceSection createSourceSection(ICdmFormElement parentElement, int style){
2817
        SourceSection section = new SourceSection(this, parentElement, style);
2833 2818
        addAndAdaptSection(parentElement, section);
2834 2819
        return section;
2835 2820
    }
2836 2821

  
2837
    public ScopeSection createScopeSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2838
        ScopeSection section = new ScopeSection(this, conversation, parentElement, style);
2822
    public ScopeSection createScopeSection(ICdmFormElement parentElement, int style){
2823
        ScopeSection section = new ScopeSection(this, parentElement, style);
2839 2824
        addAndAdaptSection(parentElement, section);
2840 2825
        return section;
2841 2826
    }
2842 2827

  
2843
    public DescriptionSourceSection createDescriptionSourceSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2844
        DescriptionSourceSection section = new DescriptionSourceSection(this, conversation, parentElement, style);
2828
    public DescriptionSourceSection createDescriptionSourceSection(ICdmFormElement parentElement, int style){
2829
        DescriptionSourceSection section = new DescriptionSourceSection(this, parentElement, style);
2845 2830
        addAndAdaptSection(parentElement, section);
2846 2831
        return section;
2847 2832
    }
2848 2833

  
2849
    public TypeDesignationSection createTypeDesignationSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2850
        TypeDesignationSection section = new TypeDesignationSection(this, conversation, parentElement, style);
2834
    public TypeDesignationSection createTypeDesignationSection(ICdmFormElement parentElement, int style){
2835
        TypeDesignationSection section = new TypeDesignationSection(this, parentElement, style);
2851 2836
        addAndAdaptSection(parentElement, section);
2852 2837
        return section;
2853 2838
    }
2854 2839

  
2855
    public StateDataSection createStateDataSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2856
        StateDataSection section = new StateDataSection(this, conversation, parentElement, style);
2840
    public StateDataSection createStateDataSection(ICdmFormElement parentElement, int style){
2841
        StateDataSection section = new StateDataSection(this, parentElement, style);
2857 2842
        addAndAdaptSection(parentElement, section);
2858 2843
        return section;
2859 2844
    }
2860 2845

  
2861
    public StatisticalMeasurementValueSection createStatisticalMeasurementValueSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2862
        StatisticalMeasurementValueSection section = new StatisticalMeasurementValueSection(this, conversation, parentElement, style);
2846
    public StatisticalMeasurementValueSection createStatisticalMeasurementValueSection(ICdmFormElement parentElement, int style){
2847
        StatisticalMeasurementValueSection section = new StatisticalMeasurementValueSection(this, parentElement, style);
2863 2848
        addAndAdaptSection(parentElement, section);
2864 2849
        return section;
2865 2850
    }
2866 2851

  
2867
    public DescribedSpecimenSection createDescribedSpecimenSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2868
        DescribedSpecimenSection section = new DescribedSpecimenSection(this, conversation, parentElement, style);
2852
    public DescribedSpecimenSection createDescribedSpecimenSection(ICdmFormElement parentElement, int style){
2853
        DescribedSpecimenSection section = new DescribedSpecimenSection(this, parentElement, style);
2869 2854
        addAndAdaptSection(parentElement, section);
2870 2855
        return section;
2871 2856
    }
2872 2857

  
2873
    public StateVocabularyCollectionSection createStateVocabulariesSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2874
        StateVocabularyCollectionSection section = new StateVocabularyCollectionSection(this, conversation, parentElement, style);
2858
    public StateVocabularyCollectionSection createStateVocabulariesSection(ICdmFormElement parentElement, int style){
2859
        StateVocabularyCollectionSection section = new StateVocabularyCollectionSection(this, parentElement, style);
2875 2860
        addAndAdaptSection(parentElement, section);
2876 2861
        return section;
2877 2862
    }
2878 2863

  
2879
    public StateVocabularyDtoCollectionSection createStateVocabulariesDtoSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2880
        StateVocabularyDtoCollectionSection section = new StateVocabularyDtoCollectionSection(this, conversation, parentElement, style);
2864
    public StateVocabularyDtoCollectionSection createStateVocabulariesDtoSection(ICdmFormElement parentElement, int style){
2865
        StateVocabularyDtoCollectionSection section = new StateVocabularyDtoCollectionSection(this, parentElement, style);
2881 2866
        addAndAdaptSection(parentElement, section);
2882 2867
        return section;
2883 2868
    }
2884 2869

  
2885
    public RecommendedModifierVocabulariesCollectionSection createRecommendedModifierVocabulariesCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2886
        RecommendedModifierVocabulariesCollectionSection section = new RecommendedModifierVocabulariesCollectionSection(this, conversation, parentElement, style);
2870
    public RecommendedModifierVocabulariesCollectionSection createRecommendedModifierVocabulariesCollectionSection(ICdmFormElement parentElement, int style){
2871
        RecommendedModifierVocabulariesCollectionSection section = new RecommendedModifierVocabulariesCollectionSection(this, parentElement, style);
2887 2872
        addAndAdaptSection(parentElement, section);
2888 2873
        return section;
2889 2874
    }
2890
    public RecommendedModifierVocabulariesDtoCollectionSection createRecommendedModifierVocabulariesDtoCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2891
        RecommendedModifierVocabulariesDtoCollectionSection section = new RecommendedModifierVocabulariesDtoCollectionSection(this, conversation, parentElement, style);
2875
    public RecommendedModifierVocabulariesDtoCollectionSection createRecommendedModifierVocabulariesDtoCollectionSection(ICdmFormElement parentElement, int style){
2876
        RecommendedModifierVocabulariesDtoCollectionSection section = new RecommendedModifierVocabulariesDtoCollectionSection(this, parentElement, style);
2892 2877
        addAndAdaptSection(parentElement, section);
2893 2878
        return section;
2894 2879
    }
2895 2880

  
2896
    public MeasurementUnitCollectionSection createMeasurementUnitCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2897
        MeasurementUnitCollectionSection section = new MeasurementUnitCollectionSection(this, conversation, parentElement, style);
2881
    public MeasurementUnitCollectionSection createMeasurementUnitCollectionSection(ICdmFormElement parentElement, int style){
2882
        MeasurementUnitCollectionSection section = new MeasurementUnitCollectionSection(this, parentElement, style);
2898 2883
        addAndAdaptSection(parentElement, section);
2899 2884
        return section;
2900 2885
    }
2901 2886

  
2902
    public MeasurementUnitDtoCollectionSection createMeasurementUnitDtoCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2903
        MeasurementUnitDtoCollectionSection section = new MeasurementUnitDtoCollectionSection(this, conversation, parentElement, style);
2887
    public MeasurementUnitDtoCollectionSection createMeasurementUnitDtoCollectionSection(ICdmFormElement parentElement, int style){
2888
        MeasurementUnitDtoCollectionSection section = new MeasurementUnitDtoCollectionSection(this, parentElement, style);
2904 2889
        addAndAdaptSection(parentElement, section);
2905 2890
        return section;
2906 2891
    }
2907
    public StatisticalMeasureCollectionSection createStatisticalMeasureCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2908
        StatisticalMeasureCollectionSection section = new StatisticalMeasureCollectionSection(this, conversation, parentElement, style);
2892
    public StatisticalMeasureCollectionSection createStatisticalMeasureCollectionSection(ICdmFormElement parentElement, int style){
2893
        StatisticalMeasureCollectionSection section = new StatisticalMeasureCollectionSection(this, parentElement, style);
2909 2894
        addAndAdaptSection(parentElement, section);
2910 2895
        return section;
2911 2896
    }
2912 2897

  
2913
    public StatisticalMeasureDtoCollectionSection createStatisticalMeasureDtoCollectionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2914
        StatisticalMeasureDtoCollectionSection section = new StatisticalMeasureDtoCollectionSection(this, conversation, parentElement, style);
2898
    public StatisticalMeasureDtoCollectionSection createStatisticalMeasureDtoCollectionSection(ICdmFormElement parentElement, int style){
2899
        StatisticalMeasureDtoCollectionSection section = new StatisticalMeasureDtoCollectionSection(this, parentElement, style);
2915 2900
        addAndAdaptSection(parentElement, section);
2916 2901
        return section;
2917 2902
    }
2918 2903

  
2919
    public CollectingAreasDetailSection createCollectingAreasDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2920
        CollectingAreasDetailSection section = new CollectingAreasDetailSection(this, conversation, parentElement, style);
2904
    public CollectingAreasDetailSection createCollectingAreasDetailSection(ICdmFormElement parentElement, int style){
2905
        CollectingAreasDetailSection section = new CollectingAreasDetailSection(this, parentElement, style);
2921 2906
        addAndAdaptSection(parentElement, section);
2922 2907
        return section;
2923 2908
    }
2924 2909

  
2925
    public GeoScopeDetailSection createGeoScopeDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2926
        GeoScopeDetailSection section = new GeoScopeDetailSection(this, conversation, parentElement, style);
2910
    public GeoScopeDetailSection createGeoScopeDetailSection(ICdmFormElement parentElement, int style){
2911
        GeoScopeDetailSection section = new GeoScopeDetailSection(this, parentElement, style);
2927 2912
        addAndAdaptSection(parentElement, section);
2928 2913
        return section;
2929 2914
    }
2930 2915

  
2931
    public GeoScopePolyKeyDetailSection createGeoScopePolyKeyDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2932
        GeoScopePolyKeyDetailSection section = new GeoScopePolyKeyDetailSection(this, conversation, parentElement, style);
2916
    public GeoScopePolyKeyDetailSection createGeoScopePolyKeyDetailSection(ICdmFormElement parentElement, int style){
2917
        GeoScopePolyKeyDetailSection section = new GeoScopePolyKeyDetailSection(this, parentElement, style);
2933 2918
        addAndAdaptSection(parentElement, section);
2934 2919
        return section;
2935 2920
    }
2936 2921

  
2937
    public IdentifierSection createIdentifierDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2938
        IdentifierSection section = new IdentifierSection(this, conversation, parentElement, style);
2922
    public IdentifierSection createIdentifierDetailSection(ICdmFormElement parentElement, int style){
2923
        IdentifierSection section = new IdentifierSection(this, parentElement, style);
2939 2924
        addAndAdaptSection(parentElement, section);
2940 2925
        return section;
2941 2926
    }
2942 2927

  
2943
    public DerivedUnitFacadeIdentifierSection createDerivedUnitFacadeIdentifierSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2944
    	DerivedUnitFacadeIdentifierSection section = new DerivedUnitFacadeIdentifierSection(this, conversation, parentElement, style);
2928
    public DerivedUnitFacadeIdentifierSection createDerivedUnitFacadeIdentifierSection(ICdmFormElement parentElement, int style){
2929
    	DerivedUnitFacadeIdentifierSection section = new DerivedUnitFacadeIdentifierSection(this, parentElement, style);
2945 2930
    	addAndAdaptSection(parentElement, section);
2946 2931
    	return section;
2947 2932
    }
2948 2933

  
2949
    public CurrentSampleDesignationDetailSection createCurrentSampleDesignationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2950
        CurrentSampleDesignationDetailSection section = new CurrentSampleDesignationDetailSection(this, conversation, parentElement, style);
2934
    public CurrentSampleDesignationDetailSection createCurrentSampleDesignationDetailSection(ICdmFormElement parentElement, int style){
2935
        CurrentSampleDesignationDetailSection section = new CurrentSampleDesignationDetailSection(this, parentElement, style);
2951 2936
        addAndAdaptSection(parentElement, section);
2952 2937
        return section;
2953 2938
    }
2954 2939

  
2955
    public CurrentDeterminationDetailSection createCurrentDeterminationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2956
        CurrentDeterminationDetailSection section = new CurrentDeterminationDetailSection(this, conversation, parentElement, style);
2940
    public CurrentDeterminationDetailSection createCurrentDeterminationDetailSection(ICdmFormElement parentElement, int style){
2941
        CurrentDeterminationDetailSection section = new CurrentDeterminationDetailSection(this, parentElement, style);
2957 2942
        addAndAdaptSection(parentElement, section);
2958 2943
        return section;
2959 2944
    }
2960 2945

  
2961
    public PreservedSpecimenCurrentDeterminationDetailSection createPreservedSpecimenCurrentDeterminationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2962
        PreservedSpecimenCurrentDeterminationDetailSection section = new PreservedSpecimenCurrentDeterminationDetailSection(this, conversation, parentElement, style);
2946
    public PreservedSpecimenCurrentDeterminationDetailSection createPreservedSpecimenCurrentDeterminationDetailSection(ICdmFormElement parentElement, int style){
2947
        PreservedSpecimenCurrentDeterminationDetailSection section = new PreservedSpecimenCurrentDeterminationDetailSection(this, parentElement, style);
2963 2948
        addAndAdaptSection(parentElement, section);
2964 2949
        return section;
2965 2950
    }
2966 2951

  
2967
    public SampleDesignationHistoryDetailSection createSampleDesignationHistoryDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2968
        SampleDesignationHistoryDetailSection section = new SampleDesignationHistoryDetailSection(this, conversation, parentElement, style);
2952
    public SampleDesignationHistoryDetailSection createSampleDesignationHistoryDetailSection(ICdmFormElement parentElement, int style){
2953
        SampleDesignationHistoryDetailSection section = new SampleDesignationHistoryDetailSection(this, parentElement, style);
2969 2954
        addAndAdaptSection(parentElement, section);
2970 2955
        return section;
2971 2956
    }
2972 2957

  
2973
    public DeterminationHistoryDetailSection createDeterminationHistoryDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2974
        DeterminationHistoryDetailSection section = new DeterminationHistoryDetailSection(this, conversation, parentElement, style);
2958
    public DeterminationHistoryDetailSection createDeterminationHistoryDetailSection(ICdmFormElement parentElement, int style){
2959
        DeterminationHistoryDetailSection section = new DeterminationHistoryDetailSection(this, parentElement, style);
2975 2960
        addAndAdaptSection(parentElement, section);
2976 2961
        return section;
2977 2962
    }
2978 2963

  
2979
    public SpecimenCollectionDetailSection createSpecimenCollectionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2980
        SpecimenCollectionDetailSection section = new SpecimenCollectionDetailSection(this, conversation, parentElement, style);
2964
    public SpecimenCollectionDetailSection createSpecimenCollectionDetailSection(ICdmFormElement parentElement, int style){
2965
        SpecimenCollectionDetailSection section = new SpecimenCollectionDetailSection(this, parentElement, style);
2981 2966
        addAndAdaptSection(parentElement, section);
2982 2967
        return section;
2983 2968
    }
2984 2969

  
2985
    public PreservedSpecimenSourceCollectionDetailSection createPreservedSpecimenSourceCollectionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2986
        PreservedSpecimenSourceCollectionDetailSection section = new PreservedSpecimenSourceCollectionDetailSection(this, conversation, parentElement, style);
2970
    public PreservedSpecimenSourceCollectionDetailSection createPreservedSpecimenSourceCollectionDetailSection(ICdmFormElement parentElement, int style){
2971
        PreservedSpecimenSourceCollectionDetailSection section = new PreservedSpecimenSourceCollectionDetailSection(this, parentElement, style);
2987 2972
        addAndAdaptSection(parentElement, section);
2988 2973
        return section;
2989 2974
    }
2990 2975

  
2991
    public SourceCollectionDetailSection createSourceCollectionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2992
        SourceCollectionDetailSection section = new SourceCollectionDetailSection(this, conversation, parentElement, style);
2976
    public SourceCollectionDetailSection createSourceCollectionDetailSection(ICdmFormElement parentElement, int style){
2977
        SourceCollectionDetailSection section = new SourceCollectionDetailSection(this, parentElement, style);
2993 2978
        addAndAdaptSection(parentElement, section);
2994 2979
        return section;
2995 2980
    }
2996 2981

  
2997
    public StatusCollectionDetailSection createStatusCollectionDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
2998
        StatusCollectionDetailSection section = new StatusCollectionDetailSection(this, conversation, parentElement, style);
2982
    public StatusCollectionDetailSection createStatusCollectionDetailSection(ICdmFormElement parentElement, int style){
2983
        StatusCollectionDetailSection section = new StatusCollectionDetailSection(this, parentElement, style);
2999 2984
        addAndAdaptSection(parentElement, section);
3000 2985
        return section;
3001 2986
    }
3002 2987

  
3003
    public ScopeRestrictionSection createScopeRestrictionSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
3004
        ScopeRestrictionSection section = new ScopeRestrictionSection(this, conversation, parentElement, style);
2988
    public ScopeRestrictionSection createScopeRestrictionSection(ICdmFormElement parentElement, int style){
2989
        ScopeRestrictionSection section = new ScopeRestrictionSection(this, parentElement, style);
3005 2990
        addAndAdaptSection(parentElement, section);
3006 2991
        return section;
3007 2992
    }
3008 2993

  
3009
    public MemberDetailSection createMemberDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
3010
        MemberDetailSection section = new MemberDetailSection(this, conversation, parentElement, style);
2994
    public MemberDetailSection createMemberDetailSection(ICdmFormElement parentElement, int style){
2995
        MemberDetailSection section = new MemberDetailSection(this, parentElement, style);
3011 2996
        addAndAdaptSection(parentElement, section);
3012 2997
        return section;
3013 2998
    }
3014 2999

  
3015
    public GrantedAuthorityDetailSection createGrantedAuthorityDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
3016
        GrantedAuthorityDetailSection section = new GrantedAuthorityDetailSection(this, conversation, parentElement, style);
3000
    public GrantedAuthorityDetailSection createGrantedAuthorityDetailSection(ICdmFormElement parentElement, int style){
3001
        GrantedAuthorityDetailSection section = new GrantedAuthorityDetailSection(this, parentElement, style);
3017 3002
        addAndAdaptSection(parentElement, section);
3018 3003
        return section;
3019 3004
    }
3020 3005

  
3021
    public GroupsByUserDetailSection createGroupsByUserDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
3022
        GroupsByUserDetailSection section = new GroupsByUserDetailSection(this, conversation, parentElement, style);
3006
    public GroupsByUserDetailSection createGroupsByUserDetailSection(ICdmFormElement parentElement, int style){
3007
        GroupsByUserDetailSection section = new GroupsByUserDetailSection(this, parentElement, style);
3023 3008
        addAndAdaptSection(parentElement, section);
3024 3009
        return section;
3025 3010
    }
3026 3011

  
3027
    public TaxonomicScopeSection createTaxonomicScopeSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
3028
        TaxonomicScopeSection section = new TaxonomicScopeSection(this, conversation, parentElement, style);
3012
    public TaxonomicScopeSection createTaxonomicScopeSection(ICdmFormElement parentElement, int style){
3013
        TaxonomicScopeSection section = new TaxonomicScopeSection(this, parentElement, style);
3029 3014
        addAndAdaptSection(parentElement, section);
3030 3015
        return section;
3031 3016
    }
......
3569 3554
        return text;
3570 3555
    }
3571 3556

  
3572
    public PreservedSpecimenDetailSection createPreservedSpecimenDetailsSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style) {
3573
        PreservedSpecimenDetailSection section = new PreservedSpecimenDetailSection(this, conversation, parentElement, selectionProvider, style);
3557
    public PreservedSpecimenDetailSection createPreservedSpecimenDetailsSection(ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style) {
3558
        PreservedSpecimenDetailSection section = new PreservedSpecimenDetailSection(this, parentElement, selectionProvider, style);
3574 3559
        addAndAdaptSection(parentElement, section);
3575 3560
        return section;
3576 3561
    }
3577 3562

  
3578
    /**
3579
     * @param formElement
3580
     * @param conversationHolder
3581
     * @param style
3582
     * @return
3583
     */
3584 3563
    public TaxonNodeAgentRelationCollectionSection createTaxonNodeAgentRelationCollectionSection(
3585
            ICdmFormElement formElement, ConversationHolder conversationHolder, int style) {
3586
        TaxonNodeAgentRelationCollectionSection section = new TaxonNodeAgentRelationCollectionSection(this, conversationHolder, formElement, style);
3564
            ICdmFormElement formElement, int style) {
3565
        TaxonNodeAgentRelationCollectionSection section = new TaxonNodeAgentRelationCollectionSection(this, formElement, style);
3587 3566
        addAndAdaptSection(formElement, section);
3588 3567
        return section;
3589 3568
    }
3590 3569

  
3591

  
3592 3570
	public TaxonOfRelationshipElement createTaxonOfRelationshipDetailElement(
3593 3571
			ICdmFormElement parentElement, int style) {
3594 3572
		TaxonOfRelationshipElement section = new TaxonOfRelationshipElement(this, parentElement, style);
......
3596 3574
        return section;
3597 3575
	}
3598 3576

  
3599
	public TaxonDetailSection createTaxonDetailSection(ConversationHolder conversationHolder,
3577
	public TaxonDetailSection createTaxonDetailSection(
3600 3578
			ICdmFormElement formElement, ISelectionProvider selectionProvider, int style) {
3601
			TaxonDetailSection section = new TaxonDetailSection(this, conversationHolder, formElement, selectionProvider, style);
3579
			TaxonDetailSection section = new TaxonDetailSection(this, formElement, selectionProvider, style);
3602 3580
	        addAndAdaptSection(formElement, section);
3603 3581
	        return section;
3604 3582
	}
3605 3583

  
3606

  
3607
    /**
3608
     * <p>
3609
     * createTextWithLabelElement
3610
     * </p>
3611
     *
3612
     * @param parentElement
3613
     *            a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement}
3614
     *            object.
3615
     * @param labelString
3616
     *            a {@link java.lang.String} object.
3617
     * @param initialText
3618
     *            a {@link java.lang.String} object.
3619
     * @param textLimit maximal number of characters allowed
3620
     * @param style
3621
     *            a int.
3622
     * @return a {@link eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement}
3623
     *         object.
3624
     */
3625 3584
    public RuleConsideredElement createRuleConsideredElement(ICdmFormElement parentElement, String labelString, boolean isShowCodeEdition, int style) {
3626 3585
        RuleConsideredElement element = new RuleConsideredElement(this, parentElement, labelString, isShowCodeEdition, style);
3627 3586
        adapt(element);
......
3629 3588
        return element;
3630 3589
    }
3631 3590

  
3632
    /**
3633
     * @param class1
3634
     * @param formElement
3635
     * @param string
3636
     * @param area
3637
     * @param nothing
3638
     * @param style
3639
     * @return
3640
     */
3641 3591
    public EntitySelectionElementWithIdInVocabulary createSelectionElementWithIdInVocabulary(Class<NamedArea> clazz,
3642 3592
            ICdmFormElement formElement, String labelString, NamedArea area, int mode, int style) {
3643 3593
        EntitySelectionElementWithIdInVocabulary element = new EntitySelectionElementWithIdInVocabulary(this,
......
3647 3597
        return element;
3648 3598
    }
3649 3599

  
3650
    /**
3651
     * @param extendedTimePeriodElement
3652
     * @param twistie
3653
     * @return
3654
     */
3655 3600
    public ExtendedTimeDetailSection createExtendedTimeDetailSection(
3656 3601
            ExtendedTimePeriodElement parentElement, int style) {
3657 3602
        ExtendedTimeDetailSection section = new ExtendedTimeDetailSection(this, parentElement,  style);
......
3659 3604
        adapt(section);
3660 3605
        return section;
3661 3606
    }
3607

  
3662 3608
    public ExtendedTimePeriodElement createExtendedTimePeriodElement(
3663 3609
            ICdmFormElement parentElement, String labelString, ExtendedTimePeriod timePeriod, int style) {
3664 3610
        ExtendedTimePeriodElement section = new ExtendedTimePeriodElement(this, parentElement, labelString, timePeriod, style);
......
3667 3613
        return section;
3668 3614
    }
3669 3615

  
3670
    
3616

  
3671 3617

  
3672 3618
//	public RichTextWithLabelElement createRichTextLabelElement(ICdmFormElement parentElement, String labelString, String initialText, int textHeight, int style) {
3673 3619
//		 RichTextWithLabelElement element = new RichTextWithLabelElement(this, parentElement, labelString,
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractCdmDetailSection.java
23 23
import org.eclipse.ui.forms.widgets.TableWrapData;
24 24
import org.eclipse.ui.forms.widgets.TableWrapLayout;
25 25

  
26
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
27 26
import eu.etaxonomy.cdm.common.CdmUtils;
28 27
import eu.etaxonomy.cdm.model.common.CdmBase;
29 28
import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
......
59 58
	protected AbstractCdmDetailElement<ENTITY> detailElement;
60 59

  
61 60
	public AbstractCdmDetailSection(CdmFormFactory formFactory,
62
			ConversationHolder conversation, ICdmFormElement parentElement,
61
			ICdmFormElement parentElement,
63 62
			ISelectionProvider selectionProvider, int style) {
64
	    this(formFactory, null, conversation, parentElement, selectionProvider, style);
63
	    this(formFactory, null, parentElement, selectionProvider, style);
65 64
	}
66 65

  
67
	//TODO remove conversation
68 66
	public AbstractCdmDetailSection(CdmFormFactory formFactory, Class<ENTITY> clazz,
69
			ConversationHolder conversation, ICdmFormElement parentElement,
67
			ICdmFormElement parentElement,
70 68
			ISelectionProvider selectionProvider, int style) {
71 69
		super(formFactory, parentElement, selectionProvider,
72 70
				ExpandableComposite.CLIENT_INDENT | style);
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java
36 36
import org.eclipse.ui.forms.events.IExpansionListener;
37 37
import org.eclipse.ui.forms.widgets.ExpandableComposite;
38 38

  
39
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
40 39
import eu.etaxonomy.cdm.common.CdmUtils;
41 40
import eu.etaxonomy.cdm.model.common.CdmBase;
42 41
import eu.etaxonomy.cdm.model.permission.CRUD;
43 42
import eu.etaxonomy.taxeditor.model.AbstractUtility;
44 43
import eu.etaxonomy.taxeditor.model.ImageResources;
45
import eu.etaxonomy.taxeditor.model.MessagingUtils;
46 44
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
47 45
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
48 46
import eu.etaxonomy.taxeditor.preference.Resources;
......
76 74
	private String title;
77 75

  
78 76
    private AbstractEntityCollectionElement<ENTITY> entityCollectionElement;
79
    
77

  
80 78
    private boolean isEnabled = true;
81 79

  
82
	public AbstractEntityCollectionSection(CdmFormFactory formFactory, ConversationHolder conversation, ICdmFormElement parentElement, String title, int style) {
80
	public AbstractEntityCollectionSection(CdmFormFactory formFactory, ICdmFormElement parentElement, String title, int style) {
83 81
		super(formFactory, parentElement, ExpandableComposite.CLIENT_INDENT | style);
84 82
		this.title = title;
85 83
		this.setText(getTitleString());
......
424 422
	 * @return String to display when hovering the add button
425 423
	 */
426 424
	protected abstract String getTooltipString();
427
	
428
	public boolean isEnabled(){
425

  
426
	@Override
427
    public boolean isEnabled(){
429 428
		return isEnabled;
430 429
	}
431
	
432
	public void setEnabled(boolean enabled){
430

  
431
	@Override
432
    public void setEnabled(boolean enabled){
433 433
		isEnabled=enabled;
434 434
		if (!isEnabled){
435 435
			removeToolbar();
436 436
		}
437
		
437

  
438 438
		for (ICdmFormElement element: getElements()){
439 439
			if (element instanceof IEnableableFormElement){
440 440
				((IEnableableFormElement)element).setEnabled(isEnabled);
441 441
			}
442 442
		}
443
		
443

  
444 444
	}
445 445
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/InstitutionDetailSection.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.taxeditor.ui.section.agent;
11 10

  
12 11
import org.eclipse.jface.viewers.ISelectionProvider;
13 12

  
14
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
15 13
import eu.etaxonomy.cdm.model.agent.Institution;
16 14
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
17 15
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
......
21 19
/**
22 20
 * @author n.hoffmann
23 21
 * @created Dec 15, 2010
24
 * @version 1.0
25 22
 */
26 23
public class InstitutionDetailSection extends AbstractCdmDetailSection<Institution> {
27 24

  
28
	/**
29
	 * @param formFactory
30
	 * @param conversation
31
	 * @param parentElement
32
	 * @param selectionProvider
33
	 * @param style
34
	 */
35 25
	public InstitutionDetailSection(CdmFormFactory formFactory,
36
			ConversationHolder conversation, ICdmFormElement parentElement,
26
			ICdmFormElement parentElement,
37 27
			ISelectionProvider selectionProvider, int style) {
38
		super(formFactory, conversation, parentElement, selectionProvider, style);
28
		super(formFactory, parentElement, selectionProvider, style);
39 29
	}
40 30

  
41
	/* (non-Javadoc)
42
	 * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
43
	 */
44 31
	@Override
45 32
	public String getHeading() {
46 33
		return "Institution";
47 34
	}
48 35

  
49
	/* (non-Javadoc)
50
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
51
	 */
52 36
	@Override
53 37
	protected AbstractCdmDetailElement<Institution> createCdmDetailElement(AbstractCdmDetailSection<Institution> parentElement, int style) {
54 38
	    return formFactory.createInstitutionDetailElement(parentElement);
55 39
	}
56

  
57
}
40
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/PersonDetailSection.java
10 10

  
11 11
import org.eclipse.jface.viewers.ISelectionProvider;
12 12

  
13
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
14 13
import eu.etaxonomy.cdm.model.agent.Person;
15 14
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
16 15
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
......
25 24
 */
26 25
public class PersonDetailSection extends AbstractCdmDetailSection<Person>{
27 26

  
28
	public PersonDetailSection(CdmFormFactory cdmFormFactory, ConversationHolder conversation, ICdmFormElement parentElement,
27
	public PersonDetailSection(CdmFormFactory cdmFormFactory, ICdmFormElement parentElement,
29 28
			ISelectionProvider selectionProvider, int style) {
30
		super(cdmFormFactory, conversation, parentElement, selectionProvider, style);
29
		super(cdmFormFactory, parentElement, selectionProvider, style);
31 30
	}
32 31

  
33 32
	@Override
......
39 38
	protected AbstractCdmDetailElement<Person> createCdmDetailElement(AbstractCdmDetailSection<Person> parentElement, int style) {
40 39
	    return formFactory.createPersonDetailElement(parentElement, style);
41 40
	}
42

  
43

  
44
}
41
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/TeamDetailElement.java
35 35
	private TeamMemberSection section_teamMembers;
36 36
	private boolean isNomenclaturalTeam;
37 37
	private boolean isCollectorTeam;
38
	
38

  
39 39
	/**
40 40
	 * Constructor for TeamDetailElement.
41 41
	 */
......
59 59
                "Collector Title", entity.getCollectorTitleCache(), entity.isProtectedCollectorTitleCache(),
60 60
                CacheRelevance.CACHE2, style);
61 61
        hasAdditionalMembers = formFactory.createCheckbox(formElement, "Additional Members", entity.isHasMoreMembers(), style);
62
        section_teamMembers = formFactory.createTeamMemberSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(TeamMemberSection.class, entity.getClass().getCanonicalName(), true), isNomenclaturalTeam, isCollectorTeam);
62
        section_teamMembers = formFactory.createTeamMemberSection(formElement, StoreUtil.getSectionStyle(TeamMemberSection.class, entity.getClass().getCanonicalName(), true), isNomenclaturalTeam, isCollectorTeam);
63 63
        section_teamMembers.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
64 64

  
65 65
        //cache relevance
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/TeamDetailSection.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.taxeditor.ui.section.agent;
11 10

  
12 11
import org.eclipse.jface.viewers.ISelectionProvider;
13 12

  
14
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
15 13
import eu.etaxonomy.cdm.model.agent.Team;
16 14
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
17 15
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
......
23 21
 *
24 22
 * @author n.hoffmann
25 23
 * @created Mar 4, 2010
26
 * @version 1.0
27 24
 */
28 25
public class TeamDetailSection extends AbstractCdmDetailSection<Team>{
29 26

  
30 27
    private boolean isNomenclaturalTeam;
31 28
    private boolean isCollectorTeam;
32 29

  
33
	
30

  
34 31

  
35 32
	/**
36 33
	 * <p>Constructor for TeamDetailSection.</p>
37 34
	 *
38 35
	 * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
39
	 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
40 36
	 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
41 37
	 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
42 38
	 * @param style a int.
43 39
	 */
44
	public TeamDetailSection(CdmFormFactory cdmFormFactory, ConversationHolder conversation, ICdmFormElement parentElement,
40
	public TeamDetailSection(CdmFormFactory cdmFormFactory, ICdmFormElement parentElement,
45 41
			ISelectionProvider selectionProvider, int style) {
46
		super(cdmFormFactory, conversation, parentElement, selectionProvider, style);
42
		super(cdmFormFactory, parentElement, selectionProvider, style);
47 43
	}
48 44

  
49
	/** {@inheritDoc} */
50 45
	@Override
51 46
	public String getHeading() {
52 47
		return "Team";
53 48
	}
54 49

  
55
	/* (non-Javadoc)
56
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
57
	 */
58 50
	@Override
59 51
	protected AbstractCdmDetailElement<Team> createCdmDetailElement(AbstractCdmDetailSection<Team> parentElement, int style) {
60 52
	    return formFactory.createTeamDetailElement(parentElement, style, isNomenclaturalTeam, isCollectorTeam);
......
67 59
	public void setIsNomenclaturalTeam(boolean isNomenclaturalTeam){
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff