/*******************************************************************************
* Copyright (c) 2008 Olivier Moises
*
* 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:
* Olivier Moises- initial API and implementation
*******************************************************************************/
package org.eclipse.wazaabi.engine.swt.commons.internal;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceEvent;
import org.osgi.framework.ServiceListener;
public class Activator implements BundleActivator, ServiceListener {
// The shared instance
private static Activator plugin;
public static Activator getDefault() {
return plugin;
}
// The plug-in ID
public static final String PLUGIN_ID = "org.eclipse.wazaabi.engine.swt.commons"; //$NON-NLS-1$
public void start(BundleContext context) throws Exception {
plugin = this;
}
public void stop(BundleContext context) throws Exception {
plugin = null;
}
public void serviceChanged(ServiceEvent event) {
// TODO Auto-generated method stub
}
}