Removing the 'question mark' in the wizard [message #473814] |
Mon, 26 May 2008 15:58  |
Eclipse User |
|
|
|
Hello,
I've added a custom Help capability to my Eclipse wizard, and I'd like to
get rid of the question mark in the corner. I've made four attempts:
1. setHelpAvailable(false) in the Wizard constructor
2. WizardDialog.setHelpAvailable(false) in the wizard constructor and in the
wizard page constructors.
3. Setting performHelp() in the WizardPages to an empty method.
4. Accessing the TrayDialog with getContainer().getTray() and calling its
setHelpAvailable(false).
None of this works. It would probably be easier to get rid of the
Next/Finish/Cancel buttons. Has anyone else had any success?
Thanks,
Matt
|
|
|
Re: Removing the 'question mark' in the wizard [message #473820 is a reply to message #473814] |
Wed, 28 May 2008 05:57  |
Eclipse User |
|
|
|
Hi Matt,
I was able to get rid of the question mark in my application by doing the following -
MyWizard wizard = new MyWizard();
WizardDialog wizardDialog = new WizardDialog(Display.getDefault().getActiveShell(), wizard);
wizardDialog.setHelpAvailable(false);
wizardDialog.open();
Matt wrote:
> Hello,
>
> I've added a custom Help capability to my Eclipse wizard, and I'd like to
> get rid of the question mark in the corner. I've made four attempts:
>
> 1. setHelpAvailable(false) in the Wizard constructor
> 2. WizardDialog.setHelpAvailable(false) in the wizard constructor and in the
> wizard page constructors.
> 3. Setting performHelp() in the WizardPages to an empty method.
> 4. Accessing the TrayDialog with getContainer().getTray() and calling its
> setHelpAvailable(false).
>
> None of this works. It would probably be easier to get rid of the
> Next/Finish/Cancel buttons. Has anyone else had any success?
>
> Thanks,
>
> Matt
>
>
|
|
|
Re: Removing the 'question mark' in the wizard [message #614392 is a reply to message #473814] |
Wed, 28 May 2008 05:57  |
Eclipse User |
|
|
|
Hi Matt,
I was able to get rid of the question mark in my application by doing the following -
MyWizard wizard = new MyWizard();
WizardDialog wizardDialog = new WizardDialog(Display.getDefault().getActiveShell(), wizard);
wizardDialog.setHelpAvailable(false);
wizardDialog.open();
Matt wrote:
> Hello,
>
> I've added a custom Help capability to my Eclipse wizard, and I'd like to
> get rid of the question mark in the corner. I've made four attempts:
>
> 1. setHelpAvailable(false) in the Wizard constructor
> 2. WizardDialog.setHelpAvailable(false) in the wizard constructor and in the
> wizard page constructors.
> 3. Setting performHelp() in the WizardPages to an empty method.
> 4. Accessing the TrayDialog with getContainer().getTray() and calling its
> setHelpAvailable(false).
>
> None of this works. It would probably be easier to get rid of the
> Next/Finish/Cancel buttons. Has anyone else had any success?
>
> Thanks,
>
> Matt
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08586 seconds