1 package org
.argeo
.security
.ui
.application
;
3 import org
.eclipse
.equinox
.app
.IApplication
;
4 import org
.eclipse
.ui
.PlatformUI
;
5 import org
.eclipse
.ui
.application
.WorkbenchAdvisor
;
7 public class SecureRcp
extends AbstractSecureApplication
{
10 protected WorkbenchAdvisor
createWorkbenchAdvisor() {
11 return new SecureWorkbenchAdvisor();
14 protected Integer
processReturnCode(Integer returnCode
) {
15 if (returnCode
== PlatformUI
.RETURN_RESTART
)
16 return IApplication
.EXIT_RESTART
;
18 return IApplication
.EXIT_OK
;