您可以通过一
LifeCycle堂课来做到这一点。您可以在产品的
lifeCyceURI属性中指定此名称:
<extension id="product" point="org.eclipse.core.runtime.products"> <product name="%product.name" application="org.eclipse.e4.ui.workbench.swt.E4Application"> <propertyname="lifeCycleURI"value="bundleclass://plugin-id/package.LifeCycle"> </property> ....
该
PostContextCreate注释运行在启动很早就:
public class LifeCycle{ @PostContextCreate public void postContextCreate() { }}
请参阅注册以获取Eclipse
4应用程序生命周期
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)