Community
Participate
Working Groups
I have craeted a Wizard and in that I want to disable the help button.So, I am using an API setHelpAvailable(false),but this is not working.Please look into this bug as soon as possible. Thanks & Regards Vishal Saraogi
Where are you calling this method? This should be called before the Wizard is opened. Do you have any sample code to reproduce?
> I want to disable the help button I suspect you want to remove the "?" button but the method you use only hides the normal button labeled "Help". To hide the "?" you need to call setHelpAvailable(false) on your WizardDialog. If you don't control/create the dialog, you can add the following method to your wizard: public void setContainer(IWizardContainer wizardContainer) { super.setContainer(wizardContainer); if (getContainer() instanceof TrayDialog) ((TrayDialog)getContainer()).setHelpAvailable(false); } I've updated the Javadoc to clarify this.
Should this bug be actually _assigned_ to someone so it isn't missed during the verification pass?
(In reply to comment #3) > Should this bug be actually _assigned_ to someone Yep, I thought I did that.
Verified in I20101206-1800.
I've added another note to the Javadocs in IWizard and Wizard.