1
/*******************************************************************************
2
* Copyright (c) 2008 Red Hat, Inc.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Elliott Baron <ebaron@redhat.com> - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.linuxtools.internal.valgrind.core;
13
import org.eclipse.ui.plugin.AbstractUIPlugin;
14
import org.osgi.framework.BundleContext;
16
public class ValgrindPlugin extends AbstractUIPlugin {
19
public static final String PLUGIN_ID = PluginConstants.CORE_PLUGIN_ID;
21
// The shared instance
22
private static ValgrindPlugin plugin;
27
public ValgrindPlugin() {
32
* @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
35
public void start(BundleContext context) throws Exception {
42
* @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
45
public void stop(BundleContext context) throws Exception {
51
* Returns the shared instance
53
* @return the shared instance
55
public static ValgrindPlugin getDefault() {