]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - rap/Application.java
1 package org
.argeo
.sandbox
.ui
.rap
;
3 import org
.eclipse
.rwt
.lifecycle
.IEntryPoint
;
4 import org
.eclipse
.swt
.widgets
.Display
;
5 import org
.eclipse
.ui
.PlatformUI
;
6 import org
.eclipse
.ui
.application
.WorkbenchAdvisor
;
9 * This class controls all aspects of the application's execution
10 * and is contributed through the plugin.xml.
12 public class Application
implements IEntryPoint
{
14 public int createUI() {
15 Display display
= PlatformUI
.createDisplay();
16 WorkbenchAdvisor advisor
= new ApplicationWorkbenchAdvisor();
17 return PlatformUI
.createAndRunWorkbench( display
, advisor
);