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/group/authority/handler/EditCdmAuthoritiesHandler.java
23 23
import eu.etaxonomy.taxeditor.editor.EditorUtil;
24 24
import eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor;
25 25
import eu.etaxonomy.taxeditor.model.LineSelection;
26
import eu.etaxonomy.taxeditor.model.MessagingUtils;
26 27

  
27 28

  
28 29
/**
......
63 64
									try {
64 65
										EditorUtil.openCdmAuthorities(((Group)selectedObject).getUuid());
65 66
									} catch (Exception e) {
66
										EditorUtil.warningDialog("Could not open CDM Authority Editor", EditorUtil.class, e.getMessage());
67
										MessagingUtils.warningDialog("Could not open CDM Authority Editor", EditorUtil.class, e.getMessage());
67 68
									}
68 69
								}
69 70
								

Also available in: Unified diff