Project

General

Profile

« Previous | Next » 

Revision 432276e4

Added by Katja Luther over 5 years ago

ref #7849: harmonize admin and local preferences for distribution editor and use drop down instead of radio buttons

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/AbcdImportConfiguratorWizardPage.java
250 250

  
251 251
        // TODO remember last selection
252 252
        nomenclaturalCodeSelectionCombo.addSelectionListener(this);
253
        int index = 0;
254
        if (abcdImportConfigurator.getNomenclaturalCode() != null){
255
            for (String label : nomenclaturalCodeSelectionCombo.getItems()){
256
                if (label.equals(abcdImportConfigurator.getNomenclaturalCode().getKey())){
257
                    nomenclaturalCodeSelectionCombo.select(index);
258
                }
259
                index++;
260
            }
261
        }
262

  
253 263
		setControl(composite);
254 264
	}
255 265

  
......
268 278
                    abcdImportConfigurator.isAllowReuseOtherClassifications());
269 279
	        PreferencesUtil.setBooleanValue(IPreferenceKeys.ABCD_IMPORT_CONFIGURATOR_DEDUPLICATE_CLASSIFICATIONS,
270 280
                    abcdImportConfigurator.isDeduplicateClassifications());
281
	        PreferencesUtil.setBooleanValue(IPreferenceKeys.ABCD_IMPORT_CONFIGURATOR_REMOVE_COUNTRY_FROM_LOCALITY_TEXT,
282
                    abcdImportConfigurator.isRemoveCountryFromLocalityText());
271 283
	        PreferencesUtil.setBooleanValue(IPreferenceKeys.ABCD_IMPORT_CONFIGURATOR_DEDUPLICATE_REFERENCES,
272 284
                    abcdImportConfigurator.isDeduplicateReferences());
273 285
	        PreferencesUtil.setBooleanValue(IPreferenceKeys.ABCD_IMPORT_CONFIGURATOR_DO_SIBLINGS,

Also available in: Unified diff