blob: 1974a684a50a7dfa4b46aa94ca08690ada8b3877 [file]
package $packageName$;
import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.application.WorkbenchAdvisor;
/**
* This class controls all aspects of the application's execution
* and is contributed through the plugin.xml.
*/
public class $applicationClass$ implements IApplication {
public Object start(IApplicationContext context) throws Exception {
Display display = PlatformUI.createDisplay();
WorkbenchAdvisor advisor = new ApplicationWorkbenchAdvisor();
return PlatformUI.createAndRunWorkbench(display, advisor);
}
public void stop() {
// Do nothing
}
}