1 package org
.argeo
.slc
.client
.rcp
;
3 import org
.argeo
.cms
.ui
.workbench
.rcp
.SecureRcp
;
4 import org
.eclipse
.jface
.window
.Window
;
5 import org
.eclipse
.jface
.window
.Window
.IExceptionHandler
;
6 import org
.eclipse
.ui
.application
.WorkbenchAdvisor
;
9 * This class controls all aspects of the application's execution
11 public class SlcSecureClientApplication
extends SecureRcp
{
14 protected WorkbenchAdvisor
createWorkbenchAdvisor(String username
) {
15 Window
.setExceptionHandler(new IExceptionHandler() {
17 public void handleException(Throwable t
) {
18 System
.err
.println("Unexpected SLC UI exception: " + t
);
23 return new SlcSecureWorkbenchAdvisor(username
);