Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Disable help "?" icon in a wizard
Disable help "?" icon in a wizard [message #336747] Tue, 30 June 2009 19:29 Go to next message
Andy is currently offline AndyFriend
Messages: 47
Registered: July 2009
Member
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,

Andy
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
Eclipse UserFriend
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
Previous Topic:Platform source on update site?
Next Topic:Various Style Commands in View Toolbar
Goto Forum:
  


Current Time: Fri Apr 19 20:50:39 GMT 2024

Powered by FUDForum. Page generated in 0.02755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top