|
Re: Disable help "?" icon in a wizard [message #336760 is a reply to message #336747] |
Wed, 01 July 2009 14:52 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Andy wrote:
> Hi everyone,
>
> I searched around and can't seem to find the solution to this issue.
> Basically I have a wizard and it has the "?" help icon on the bottom
> left of the wizard next to the back, next, and finish buttons. The
> issue is that I would like to disable that and not display the icon
> since all of the information needed is on the wizard page itself. I
> can't seem to get it to be disabled.
> In the wizard itself, I tried
>
> // override this method, doesn't work
> public boolean isHelpAvailable(){
> return false; }
>
> and
>
> this.setHelpAvailable(false); // set in the constructor of the Wizard
>
> and that doesn't work either. Any ideas as to how to disable that
> icon? Thanks,
Are you writing a plug-in that is installed into the Eclipse IDE, or
your own RCP product?
The reason I ask is because there is a method,
org.eclipse.jface.dialogs.TrayDialog.setDialogHelpAvailable( boolean),
that might be getting called. It instructs JFace dialogs (including
WizardDialog, I think) to always show the help button. I've usually seen
it called in the initialize() method of a WorkbenchAdvisorIntercept, so
if you've registered one of those you can check there.
If you're not sure, try setting a breakpoint in that method and see if
it is being called.
Hope this helps,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03506 seconds