1 24 25 package org.objectweb.dolphin; 26 27 import org.eclipse.ui.plugin.AbstractUIPlugin; 28 import org.osgi.framework.BundleContext; 29 30 33 public class DolphinPlugin extends AbstractUIPlugin { 34 private static DolphinPlugin plugin; 36 37 40 public DolphinPlugin() { 41 super(); 42 plugin = this; 43 } 44 45 48 public void start(BundleContext context) throws Exception { 49 super.start(context); 50 } 51 52 55 public void stop(BundleContext context) throws Exception { 56 super.stop(context); 57 plugin = null; 58 } 59 60 63 public static DolphinPlugin getDefault() { 64 return plugin; 65 } 66 } 67 | Popular Tags |