blob: f68a7ec1e6771d36caca914ea7edb380a636824c [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2009, 2012 SpringSource, a division of VMware, Inc.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.virgo.ide.jdt.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* Bundle {@link AbstractUIPlugin} for the jdt.ui plug-in.
*
* @author Christian Dupuis
* @since 1.0.0
*/
public class JdtUiPlugin extends AbstractUIPlugin {
/** The bundle-symbolic name */
public static final String PLUGIN_ID = "org.eclipse.virgo.ide.jdt.ui";
/** Id for the decorator */
public static final String DECORATOR_ID = PLUGIN_ID + ".notAccessibleJavaElementDecorator";
// The shared instance
private static JdtUiPlugin plugin;
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
public static JdtUiPlugin getDefault() {
return plugin;
}
}