Project

General

Profile

Revision 4ddb7672

ID4ddb7672dc887dbb983ad6e66962875cef830f8f
Parent eae02d51
Child 3f6bdfe5

Added by Andreas Müller over 2 years ago

minor changes in labels

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/deleteConfigurator/DeleteTaxonBaseConfiguratorComposite.java
146 146
                                GridData gd_btnIgnoreHasReplacedSynonym = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
147 147
                                gd_btnIgnoreHasReplacedSynonym.horizontalIndent = 10;
148 148
                                btnIgnoreHasReplacedSynonym.setLayoutData(gd_btnIgnoreHasReplacedSynonym);
149
                                btnIgnoreHasReplacedSynonym.setText("it has replaced synonym");
149
                                btnIgnoreHasReplacedSynonym.setText("it has replaced synonym(s)");
150 150
                                btnIgnoreHasReplacedSynonym.setSelection(true);
151 151

  
152 152
                        btnIgnoreHasBasionym = new Button(composite, SWT.CHECK);
153 153
                        GridData gd_btnIgnoreHasBasionym = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
154 154
                        gd_btnIgnoreHasBasionym.horizontalIndent = 10;
155 155
                        btnIgnoreHasBasionym.setLayoutData(gd_btnIgnoreHasBasionym);
156
                        btnIgnoreHasBasionym.setText("it has basionym");
156
                        btnIgnoreHasBasionym.setText("it has basionym(s)");
157 157
                        btnIgnoreHasBasionym.setSelection(true);
158 158

  
159 159
                btnIgnoreIsReplacedSynonymFor = new Button(composite, SWT.CHECK);
......
161 161
                gd_btnIgnoreIsReplacedSynonymFor.horizontalIndent = 10;
162 162
                btnIgnoreIsReplacedSynonymFor.setLayoutData(gd_btnIgnoreIsReplacedSynonymFor);
163 163
                btnIgnoreIsReplacedSynonymFor.setSelection(true);
164
                btnIgnoreIsReplacedSynonymFor.setText("it is replaced synonym");
164
                btnIgnoreIsReplacedSynonymFor.setText("it is a replaced synonym");
165 165

  
166 166
        btnIgnoreIsBasionym = new Button(composite, SWT.CHECK);
167 167
        GridData gd_btnIgnoreIsBasionym = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
168 168
        gd_btnIgnoreIsBasionym.horizontalIndent = 10;
169 169
        btnIgnoreIsBasionym.setLayoutData(gd_btnIgnoreIsBasionym);
170
        btnIgnoreIsBasionym.setText("it is basionym");
170
        btnIgnoreIsBasionym.setText("it is a basionym");
171 171
        btnIgnoreIsBasionym.setSelection(true);
172 172

  
173 173

  
......
181 181
    protected void initDataBindings() {
182 182
        m_bindingContext = new DataBindingContext();
183 183
        //
184
        IObservableValue observeSelectionBtnDeleteTaxonNameObserveWidget = WidgetProperties.selection().observe(btnDeleteTaxonName);
185
        IObservableValue deleteNameIfPossibleConfiguratorObserveValue = PojoProperties.value("deleteNameIfPossible").observe(configurator);
184
        IObservableValue<?> observeSelectionBtnDeleteTaxonNameObserveWidget = WidgetProperties.selection().observe(btnDeleteTaxonName);
185
        IObservableValue<?> deleteNameIfPossibleConfiguratorObserveValue = PojoProperties.value("deleteNameIfPossible").observe(configurator);
186 186
        m_bindingContext.bindValue(observeSelectionBtnDeleteTaxonNameObserveWidget, deleteNameIfPossibleConfiguratorObserveValue, null, null);
187 187

  
188 188
        NameDeletionConfigurator nameConfig = configurator.getNameDeletionConfig();
189
        IObservableValue observeSelectionbtnRemoveAllNameRelationshipsObserveWidget = WidgetProperties.selection().observe(btnRemoveAllNameRelationships);
190
        IObservableValue deleteRemoveAllNameRelationshipsConfiguratorObserveValue = PojoProperties.value("removeAllNameRelationships").observe(nameConfig);
189
        IObservableValue<?> observeSelectionbtnRemoveAllNameRelationshipsObserveWidget = WidgetProperties.selection().observe(btnRemoveAllNameRelationships);
190
        IObservableValue<?> deleteRemoveAllNameRelationshipsConfiguratorObserveValue = PojoProperties.value("removeAllNameRelationships").observe(nameConfig);
191 191
        m_bindingContext.bindValue(observeSelectionbtnRemoveAllNameRelationshipsObserveWidget, deleteRemoveAllNameRelationshipsConfiguratorObserveValue, null, null);
192 192

  
193
        IObservableValue observeSelectionbtnIgnoreIsBasionymObserveWidget = WidgetProperties.selection().observe(btnIgnoreIsBasionym);
194
        IObservableValue deleteIgnoreIsBasionymConfiguratorObserveValue = PojoProperties.value("ignoreIsBasionymFor").observe(nameConfig);
193
        IObservableValue<?> observeSelectionbtnIgnoreIsBasionymObserveWidget = WidgetProperties.selection().observe(btnIgnoreIsBasionym);
194
        IObservableValue<?> deleteIgnoreIsBasionymConfiguratorObserveValue = PojoProperties.value("ignoreIsBasionymFor").observe(nameConfig);
195 195
        m_bindingContext.bindValue(observeSelectionbtnIgnoreIsBasionymObserveWidget, deleteIgnoreIsBasionymConfiguratorObserveValue, null, null);
196 196

  
197
        IObservableValue observeSelectionbtnIgnoreIsReplacedSynonymForObserveWidget = WidgetProperties.selection().observe(btnIgnoreIsReplacedSynonymFor);
198
        IObservableValue deleteIgnoreIsReplacedSynonymForConfiguratorObserveValue = PojoProperties.value("ignoreIsReplacedSynonymFor").observe(nameConfig);
197
        IObservableValue<?> observeSelectionbtnIgnoreIsReplacedSynonymForObserveWidget = WidgetProperties.selection().observe(btnIgnoreIsReplacedSynonymFor);
198
        IObservableValue<?> deleteIgnoreIsReplacedSynonymForConfiguratorObserveValue = PojoProperties.value("ignoreIsReplacedSynonymFor").observe(nameConfig);
199 199
        m_bindingContext.bindValue(observeSelectionbtnIgnoreIsReplacedSynonymForObserveWidget, deleteIgnoreIsReplacedSynonymForConfiguratorObserveValue, null, null);
200 200

  
201
        IObservableValue observeSelectionbtnIgnoreHasBasionymObserveWidget = WidgetProperties.selection().observe(btnIgnoreHasBasionym);
202
        IObservableValue deleteIgnoreHasBasionymConfiguratorObserveValue = PojoProperties.value("ignoreHasBasionym").observe(nameConfig);
201
        IObservableValue<?> observeSelectionbtnIgnoreHasBasionymObserveWidget = WidgetProperties.selection().observe(btnIgnoreHasBasionym);
202
        IObservableValue<?> deleteIgnoreHasBasionymConfiguratorObserveValue = PojoProperties.value("ignoreHasBasionym").observe(nameConfig);
203 203
        m_bindingContext.bindValue(observeSelectionbtnIgnoreHasBasionymObserveWidget, deleteIgnoreHasBasionymConfiguratorObserveValue, null, null);
204 204

  
205
        IObservableValue observeSelectionbtnIgnoreHasReplacedSynonymObserveWidget = WidgetProperties.selection().observe(btnIgnoreHasReplacedSynonym);
206
        IObservableValue deleteIgnoreHasReplacedSynonymConfiguratorObserveValue = PojoProperties.value("ignoreHasReplacedSynonym").observe(nameConfig);
205
        IObservableValue<?> observeSelectionbtnIgnoreHasReplacedSynonymObserveWidget = WidgetProperties.selection().observe(btnIgnoreHasReplacedSynonym);
206
        IObservableValue<?> deleteIgnoreHasReplacedSynonymConfiguratorObserveValue = PojoProperties.value("ignoreHasReplacedSynonym").observe(nameConfig);
207 207
        m_bindingContext.bindValue(observeSelectionbtnIgnoreHasReplacedSynonymObserveWidget, deleteIgnoreHasReplacedSynonymConfiguratorObserveValue, null, null);
208 208

  
209
        IObservableValue observeSelectionbtnRemoveAllTypeDesignationsObserveWidget = WidgetProperties.selection().observe(btnRemoveAllTypeDesignations);
210
        IObservableValue deleteRemoveAllTypeDesignationsConfiguratorObserveValue = PojoProperties.value("removeAllTypeDesignations").observe(nameConfig);
209
        IObservableValue<?> observeSelectionbtnRemoveAllTypeDesignationsObserveWidget = WidgetProperties.selection().observe(btnRemoveAllTypeDesignations);
210
        IObservableValue<?> deleteRemoveAllTypeDesignationsConfiguratorObserveValue = PojoProperties.value("removeAllTypeDesignations").observe(nameConfig);
211 211
        m_bindingContext.bindValue(observeSelectionbtnRemoveAllTypeDesignationsObserveWidget, deleteRemoveAllTypeDesignationsConfiguratorObserveValue, null, null);
212 212

  
213 213

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)