简体   繁体   English

如何在向导页面中添加新按钮和更新按钮名称

[英]How to add new button and update button name in wizardpage

I have wizard with Finish and Cancel button. 我有带有“完成”和“取消”按钮的向导。

Now I want to change Finish button name to some other. 现在,我想将“完成”按钮名称更改为其他名称。 And I want to add one more new button in the same wizardpage. 我想在同一向导页面中添加一个新按钮。

Please let me know any idea. 请让我知道任何想法。

If this is a wizard being displayed by Eclipse using one of the wizard extension points then there is no way that you can access the main button bar to change it so this cannot be done. 如果这是Eclipse使用向导扩展点之一显示的向导,则无法访问主按钮栏进行更改,因此无法完成。

If you create the wizard yourself using WizardDialog then you can override the createButtonBar method to change the buttons. 如果您使用WizardDialog自己创建向导,则可以重写createButtonBar方法来更改按钮。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM