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/view/concept/handler/AbstractDynamicConceptRelationMenu.java
12 12
import org.eclipse.ui.handlers.IHandlerService;
13 13

  
14 14
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
15
import eu.etaxonomy.taxeditor.editor.EditorUtil;
16 15
import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin;
16
import eu.etaxonomy.taxeditor.model.MessagingUtils;
17 17
import eu.etaxonomy.taxeditor.model.TaxonRelationshipTypeInverseContainer;
18 18
import eu.etaxonomy.taxeditor.store.CdmStore;
19 19

  
......
68 68
					try {
69 69
						handlerService.executeCommand(getCommandName(), event);
70 70
					} catch (Exception e) {
71
						EditorUtil.error(getClass(), "Error executing command", e);
71
						MessagingUtils.error(getClass(), "Error executing command", e);
72 72
					}
73 73
				}				
74 74
			});

Also available in: Unified diff