blob: 28d32f409a4e9ad1b8dd6882ce28fe4e9b641c20 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 BSI Business Systems Integration AG.
* 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:
* BSI Business Systems Integration AG - initial API and implementation
******************************************************************************/
package @@BUNDLE_SWING_NAME@@;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator{
public static String PLUGIN_ID="@@BUNDLE_SWING_NAME@@";
private static Activator plugin;
public static Activator getDefault(){
return plugin;
}
public void start(BundleContext context) throws Exception{
plugin=this;
}
public void stop(BundleContext context) throws Exception{
plugin=null;
}
}