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.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/handler/DeleteHandler.java
33 33
import eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode;
34 34
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
35 35
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
36
import eu.etaxonomy.taxeditor.model.MessagingUtils;
36 37
import eu.etaxonomy.taxeditor.navigation.NavigationUtil;
37 38
import eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator;
38 39
import eu.etaxonomy.taxeditor.navigation.navigator.operation.DeleteOperation;
......
116 117
		
117 118
	
118 119
			} catch (NotDefinedException e) {
119
				NavigationUtil.warn(getClass(), "Command name not set");
120
				MessagingUtils.warn(getClass(), "Command name not set");
120 121
			}
121 122
		} else{
122 123
			try{
......
131 132
					NavigationUtil.executeOperation(operation);
132 133
				}
133 134
			}catch (NotDefinedException e) {
134
				NavigationUtil.warn(getClass(), "Command name not set");
135
				MessagingUtils.warn(getClass(), "Command name not set");
135 136
			}
136 137
		}
137 138
		return null;

Also available in: Unified diff