失效的Eclipse API(一)

Plugin
这个类变化比较大

getDescriptor()
          Deprecated. IPluginDescriptor was refactored in Eclipse 3.0. The getDescriptor() method may only be called by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in. See the comments on IPluginDescriptor and its methods for details.



startup()
          Deprecated. In Eclipse 3.0 this method has been replaced by start(BundleContext context). Implementations of startup() should be changed to extend start(BundleContext context) and call super.start(context) instead of super.startup(). The startup() method is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in.
这个startup()就不使用了,请继承start(BundleContext context)


shutdown()
          Deprecated. In Eclipse 3.0 this method has been replaced by stop(BundleContext context). Implementations of shutdown() should be changed to override stop(BundleContext context) and call super.stop(context) instead of super.shutdown(). The shutdown() method is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in.
这个shutdown()就不使用了,请继承stop(BundleContext context)
原文地址:https://www.cnblogs.com/huqingyu/p/513604.html