失效的Eclipse API(一)

失效的Eclipse API(一),第1张

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)

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/2090310.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存