Project

General

Profile

« Previous | Next » 

Revision 41e2f693

Added by Cherian Mathew over 9 years ago

Moved all logging and dialog functionality to the new class MessagingUtils.
Refactoring code to adapt to above change.
Added new custom error dialog - CdmErrorDialog
Added runtime exception handling to the ApplicationWorkbenchAdvisor by adding a custom status handler

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/translation/TranslationWizardPage.java
28 28
import eu.etaxonomy.cdm.model.common.LanguageString;
29 29
import eu.etaxonomy.cdm.model.common.MultilanguageTextHelper;
30 30
import eu.etaxonomy.cdm.model.common.TermType;
31
import eu.etaxonomy.taxeditor.model.MessagingUtils;
31 32
import eu.etaxonomy.taxeditor.store.CdmStore;
32
import eu.etaxonomy.taxeditor.store.StoreUtil;
33 33
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement;
34 34
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
35 35
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
......
237 237
			if (language != null){
238 238
				languageList.add(language);
239 239
			}else{
240
				StoreUtil.warningDialog("Empty languages", getClass(), "The multilanguage string contains invalid data. Please contact the administrator of you datasource.");
240
				MessagingUtils.warningDialog("Empty languages", getClass(), "The multilanguage string contains invalid data. Please contact the administrator of you datasource.");
241 241
			}
242 242
		}
243 243

  

Also available in: Unified diff