]> git.argeo.org Git - lgpl/argeo-commons.git/blob - rap/Application.java
Prepare next development cycle
[lgpl/argeo-commons.git] / rap / Application.java
1 package org.argeo.sandbox.ui.rap;
2
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;
7
8 /**
9 * This class controls all aspects of the application's execution
10 * and is contributed through the plugin.xml.
11 */
12 public class Application implements IEntryPoint {
13
14 public int createUI() {
15 Display display = PlatformUI.createDisplay();
16 WorkbenchAdvisor advisor = new ApplicationWorkbenchAdvisor();
17 return PlatformUI.createAndRunWorkbench( display, advisor );
18 }
19 }