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.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/SynonymContainer.java
20 20
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
21 21
import eu.etaxonomy.cdm.model.taxon.Synonym;
22 22
import eu.etaxonomy.taxeditor.editor.EditorUtil;
23
import eu.etaxonomy.taxeditor.model.MessagingUtils;
23 24
import eu.etaxonomy.taxeditor.preference.Resources;
24 25

  
25 26
/**
......
61 62
		setFont(getViewerFont());
62 63
		
63 64
		if(getName() == null){
64
			EditorUtil.warn(getClass(), "Synonym with a null name detected. This should never happen.");
65
			MessagingUtils.warn(getClass(), "Synonym with a null name detected. This should never happen.");
65 66
		}
66 67
		
67 68
		initTextViewer();

Also available in: Unified diff