Activator.java
Go to the documentation of this file.00001 package edu.rice.cs.hpc.common.plugin;
00002
00003 import org.eclipse.ui.plugin.AbstractUIPlugin;
00004 import org.osgi.framework.BundleContext;
00005
00009 public class Activator extends AbstractUIPlugin {
00010
00011
00012 public static final String PLUGIN_ID = "edu.rice.cs.hpc.common";
00013
00014
00015 private static Activator plugin;
00016
00020 public Activator() {
00021 }
00022
00023
00024
00025
00026
00027 public void start(BundleContext context) throws Exception {
00028 super.start(context);
00029 plugin = this;
00030 }
00031
00032
00033
00034
00035
00036 public void stop(BundleContext context) throws Exception {
00037 plugin = null;
00038 super.stop(context);
00039 }
00040
00046 public static Activator getDefault() {
00047 return plugin;
00048 }
00049
00050 }