blob: 5dc367f3b0a73fcde640d3dbc68ef3e4c00371cb [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ptp.debug.sdm.x10;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
public class Activator extends Plugin {
public static final String PLUGIN_ID = "org.eclipse.ptp.debug.sdm.x10"; //$NON-NLS-1$
private static Activator plugin;
/**
* Returns the shared instance.
*/
public static Activator getDefault() {
return plugin;
}
/**
* Get a unique identifier for this plugin
*
* @return
*/
public static String getUniqueIdentifier() {
return PLUGIN_ID;
}
/**
* The constructor.
*/
public Activator() {
super();
plugin = this;
}
/**
* This method is called upon plug-in activation
*/
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
}
/**
* This method is called when the plug-in is stopped
*/
@Override
public void stop(BundleContext context) throws Exception {
super.stop(context);
plugin = null;
}
}