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/test/java/eu/etaxonomy/taxeditor/navigation/ApplicationWorkbenchAdvisor.java
9 9
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
10 10
import org.osgi.framework.Bundle;
11 11

  
12
import eu.etaxonomy.taxeditor.model.MessagingUtils;
13

  
12 14
@SuppressWarnings("restriction")
13 15
public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
14 16

  
......
50 52
//		IWorkspace workspace = ResourcesPlugin.getWorkspace();
51 53
//		return workspace.getRoot();
52 54
//	}
55
	
56
//	@Override
57
//	public void eventLoopException(Throwable exception) {
58
//		super.eventLoopException(exception);
59
//		MessagingUtils.messageDialog("Unexpected Errorr", "Please contact EDIT Support and provide contents of  the trace log", null , exception);
60
//	}
53 61

  
54 62
}

Also available in: Unified diff