| Summary: | Help button setHelpAvailable(), API is not working | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Vishal <vsaraogi> |
| Component: | UI | Assignee: | Dani Megert <daniel_megert> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, markus.kell.r, prakash, remy.suen |
| Version: | 3.2 | ||
| Target Milestone: | 3.7 M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Vishal
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. |