0
我想写一个添加WorkbenchListener的eclipse插件。我使用了这个问题的接受答案中提供的方法:
Eclipse shut down hook able to stop the termination。
但是iwb.addWorkbenchListener(wbl);
会报错: The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is indirectly referenced from required .class files
。IWorkbenchListener类型解析错误
这里有什么问题吗?