*/
public static void checkNomenclaturalCode() {
// First time Editor is opened, no nomenclatural code has been set
+
+
if (PreferencesUtil.getPreferredNomenclaturalCode() == null) {
+ PreferencesUtil.setPreferredNomenclaturalCode(NomenclaturalCode.ICNAFP);
+ /*
StoreUtil.info("No nomencatural code set.");
Shell shell = StoreUtil.getShell();
- // Query user re: preferred nom. code
+ Query user re: preferred nom. code
Dialog dialog = new InitNomenclaturalCodePrefDialog(shell);
dialog.open();
"The following has been set as your preferred nomenclatural code:\n\n\t"
+ NomenclaturalCodeHelper
.getDescription(code)
- + "\n\nYou can change the nomenclatural code at any time in the \"Preferences\" menu.");
+ + "\n\nYou can change the nomenclatural code at any time in the \"Preferences\" menu.");*/
}
}