Project

General

Profile

« Previous | Next » 

Revision 21db0158

Added by Katja Luther almost 10 years ago

skip the dialog for setting the default nomenclatural code. The default is the botanical code.

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java
378 378
	 */
379 379
	public static void checkNomenclaturalCode() {
380 380
		// First time Editor is opened, no nomenclatural code has been set
381
		
382
		
381 383
		if (PreferencesUtil.getPreferredNomenclaturalCode() == null) {
384
			PreferencesUtil.setPreferredNomenclaturalCode(NomenclaturalCode.ICNAFP);
385
			/*
382 386

  
383 387
			StoreUtil.info("No nomencatural code set.");
384 388

  
385 389
			Shell shell = StoreUtil.getShell();
386 390

  
387
			// Query user re: preferred nom. code
391
		 Query user re: preferred nom. code
388 392
			Dialog dialog = new InitNomenclaturalCodePrefDialog(shell);
389 393
			dialog.open();
390 394

  
......
398 402
							"The following has been set as your preferred nomenclatural code:\n\n\t"
399 403
									+ NomenclaturalCodeHelper
400 404
											.getDescription(code)
401
									+ "\n\nYou can change the nomenclatural code at any time in the \"Preferences\" menu.");
405
									+ "\n\nYou can change the nomenclatural code at any time in the \"Preferences\" menu.");*/
402 406
		}
403 407
	}
404 408

  

Also available in: Unified diff