blob: 478669e02df6a4f7c1606e354907bb075e43bc07 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008-2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
******************************************************************************/
package org.eclipse.emf.emfstore.backchannel.example.client;
import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;
/**
* This class controls all aspects of the application's execution.
*/
public class Application implements IApplication {
/**
* {@inheritDoc}
*/
// BEGIN SUPRESS CATCH EXCEPTION
public Object start(IApplicationContext context) throws Exception {
System.out.println("Hello RCP World!");
new DemoBackchannelClient().run();
return IApplication.EXIT_OK;
}
// END SUPRESS CATCH EXCEPTION
/**
* {@inheritDoc}
*/
public void stop() {
// nothing to do
}
}