// Copyright (c) 2003-2008 by Leif Frenzel. All rights reserved. // This code is made available under the terms of the Eclipse Public License, // version 1.0 (EPL). See http://www.eclipse.org/legal/epl-v10.html package net.sf.eclipsefp.haskell.debug.ui.test.internal; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** <p>The main plugin class.</p> * * @author Leif Frenzel */ public class Activator extends AbstractUIPlugin { private static Activator plugin; public static Activator getDefault() { return plugin; } // interface methods of Activator ///////////////////////////////// @Override public void start( final BundleContext context ) throws Exception { super.start( context ); plugin = this; } @Override public void stop( final BundleContext context ) throws Exception { plugin = null; super.stop( context ); } }