]>
git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.rap/src/main/java/org/argeo/slc/client/rap/SlcClientRapApplication.java
1 package org
.argeo
.slc
.client
.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 SlcClientRapApplication
implements IEntryPoint
{
14 public int createUI() {
15 Display display
= PlatformUI
.createDisplay();
16 WorkbenchAdvisor advisor
= new ApplicationWorkbenchAdvisor();
17 return PlatformUI
.createAndRunWorkbench( display
, advisor
);