Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Re: Event Handler for 'Next' button in a wizard.
Re: Event Handler for 'Next' button in a wizard. [message #466780] Tue, 24 April 2007 18:21 Go to next message
Eclipse UserFriend
Originally posted by: rkkistle.hotmail.com

Hi,
I'm trying to do the same thing. I understand your solution with just one issue -- I can't figure out how the extended WizardDialog class would actually be used.

I'm launching my wizard from Eclipse File->New->Other, it so I'm not sure how I would specify the use of the extended WizardDialog class.

Thanks!
Re: Event Handler for 'Next' button in a wizard. [message #466784 is a reply to message #466780] Wed, 25 April 2007 02:12 Go to previous messageGo to next message
Eclipse UserFriend
You can extend WizardDialog and override the methods only if you are creating the Wizard Dialog. In case of New Wizard (and Export / Import Wizards) Eclipse provides you the container. So the best way is to extend the getNextPage in the Wizard.
Re: Event Handler for 'Next' button in a wizard. [message #466790 is a reply to message #466784] Wed, 25 April 2007 05:18 Go to previous message
Eclipse UserFriend
Hi,

Avoid extending getNextPage() as this is a Public API and can be called from any place from your application. If you put your next button handler in your getNextPage() then it may get invoked unnecessarily even when you do not require that.

Rest is your wish. :-)

Regards,
Anand
Previous Topic:best way to refresh/update syntax highlighting?
Next Topic:Configure Location of 3rd-party tools at runtime
Goto Forum:
  


Current Time: Sat May 17 08:42:15 EDT 2025

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

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

Back to the top