Project

General

Profile

« Previous | Next » 

Revision 0caafa75

Added by Andreas Müller over 1 year ago

ref #10186 further remove ConversationHolder and cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailElement.java
88 88

  
89 89
            checkbox_published = formFactory.createCheckbox(this,
90 90
                    "Published", taxon.isPublish(), style);
91
            sensuReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
91
            sensuReference = formFactory.createSelectionElement(Reference.class,
92 92
                 formElement, label,
93 93
                taxon.getSec(), EntitySelectionElement.ALL,
94 94
                style);
......
116 116
            }
117 117

  
118 118
            /*TODO: use super.createControls(); to create single source element
119
            secReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
119
            secReference = formFactory.createSelectionElement(Reference.class,
120 120
                    formElement, label,
121 121
                    entity.getCitation(), EntitySelectionElement.ALL,
122 122
                    style);
......
151 151
            checkbox_published = formFactory.createCheckbox(this,
152 152
                    "Published", taxon.isPublish(), style);
153 153
            /*
154
             * secReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
154
             * secReference = formFactory.createSelectionElement(Reference.class,
155 155

  
156 156
                    formElement, "Syn. Sec.",
157 157
                    entity.getCitation(), EntitySelectionElement.ALL,
......
165 165

  
166 166
            super.createControls(formElement, entity, style);
167 167
            setSourceLabel("Syn. Sec.");
168
            sensuReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
168
            sensuReference = formFactory.createSelectionElement(Reference.class,
169 169
                    formElement, "Sec",
170 170
                   taxon.getSec(), EntitySelectionElement.ALL,
171 171
                   style);
......
191 191

  
192 192
            combo_taxonRelationshipType.setEnabled(false);
193 193
            selection_relatedTaxon = formFactory.createSelectionElement(
194
                    Taxon.class, //getConversationHolder(),
194
                    Taxon.class,
195 195
                    formElement, "Related Taxon", getRelatedTaxon(),
196 196
                    EntitySelectionElement.SELECTABLE, style);
197 197
            checkBoxDoubtful = formFactory.createCheckbox(formElement, "Relation Doubtful", entity.isDoubtful(), style);

Also available in: Unified diff