1 11 package org.eclipse.core.internal.expressions; 12 13 import org.osgi.framework.BundleContext; 14 15 import org.eclipse.core.runtime.Plugin; 16 17 public class ExpressionPlugin extends Plugin { 18 19 private static ExpressionPlugin fgDefault; 20 21 private BundleContext fBundleContext; 22 23 public ExpressionPlugin() { 24 fgDefault= this; 25 } 26 27 public static ExpressionPlugin getDefault() { 28 return fgDefault; 29 } 30 31 public static String getPluginId() { 32 return "org.eclipse.core.expressions"; } 34 35 38 public void start(BundleContext context) throws Exception { 39 super.start(context); 40 fBundleContext= context; 41 } 42 43 46 public void stop(BundleContext context) throws Exception { 47 super.stop(context); 48 } 49 50 public BundleContext getBundleContext() { 51 return fBundleContext; 52 } 53 } 54 | Popular Tags |