blob: 450c5fdf9ce3270635c57e8b75a59c1bcf72bee4 [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2016 CEA LIST.
*
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Shuai Li (CEA LIST) <shuai.li@cea.fr> - Initial API and implementation
*****************************************************************************/
package org.eclipse.papyrus.designer.realtime.types;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
/** The id of the plug-in. */
public static final String PLUGIN_ID = "org.eclipse.papyrus.designer.realtime.types"; //$NON-NLS-1$
private static BundleContext context;
static BundleContext getContext() {
return context;
}
@Override
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
}
@Override
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
}
}