Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用向导写了一个 Eclipse 插件。向导包含一些页面,我希望当用户按下完成(在任何页面中)时,我将能够打开页面,其中包含其他页面中所有字段的摘要,然后才执行完成功能,我知道怎么做实施吗?
谢谢
您也许可以performFinish在向导的方法中做一些事情:
performFinish
@Override public boolean performFinish() { IWizardContainer container = getContainer(); if (summaryPage.equals(container.getCurrentPage())) { // Do something. return true; } else { container.showPage(summaryPage); return false; } }