action是在extensions里重写eclipse提供的标准扩展点:org.eclipse.ui.actionSets。想在Activator中获取此action对象并调用setEnable()方法,达到控制按钮的可用和禁用状态。望各位大神帮忙!
目前我也不会,但是需要积分