blob: 89175df5dbddd30d433c7dfc999e92fb80d5b5c5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012-2014 SAP SE.
* 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:
* SAP SE - initial API and implementation and/or initial documentation
*
*******************************************************************************/
package org.eclipse.ogee.model.validation;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
private static BundleContext context;
public static String problemMarkerId = "org.eclipse.ogee.model.ProblemMarker"; //$NON-NLS-1$
public static final String PLUGIN_ID = "org.eclipse.ogee.model.validation"; //$NON-NLS-1$
static BundleContext getContext() {
return context;
}
public void start(BundleContext bundleContext) throws ValidationException {
Activator.context = bundleContext;
}
public void stop(BundleContext bundleContext) throws ValidationException {
Activator.context = null;
}
}