package org.eclipse.gmt.modisco.infra.browser.custom.examples.java.jdk.internal; | |
import org.eclipse.ui.plugin.AbstractUIPlugin; | |
import org.osgi.framework.BundleContext; | |
public class Activator extends AbstractUIPlugin { | |
private static Activator plugin; | |
@Override | |
public void start(final BundleContext context) throws Exception { | |
super.start(context); | |
Activator.plugin = this; | |
} | |
@Override | |
public void stop(final BundleContext context) throws Exception { | |
Activator.plugin = null; | |
super.stop(context); | |
} | |
public static Activator getDefault() { | |
return Activator.plugin; | |
} | |
} |