[英]how to add summary page in the end of eclipse plugin
我用向導編寫了一個eclipse插件。 該向導包含一些頁面,我希望當用戶在完成時(在任何頁面中)按一下時,我將能夠打開包含其他頁面中所有字段摘要的頁面,然后才執行finish功能,我想怎么做執行嗎?
謝謝
您可能可以在向導的performFinish
方法中執行以下操作:
@Override
public boolean performFinish() {
IWizardContainer container = getContainer();
if (summaryPage.equals(container.getCurrentPage())) {
// Do something.
return true;
} else {
container.showPage(summaryPage);
return false;
}
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.