Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Plug In development - Wizard creation
Plug In development - Wizard creation [message #213156] Thu, 31 May 2007 20:00 Go to next message
Eclipse UserFriend
Originally posted by: g_boivin_dufault.hotmail.com

Hi guys,

I created a custom wizard class that extends
org.eclipse.jface.wizard.Wizard and implements org.eclipse.ui.INewWizard
and is composed of two pages. When the user clicks on the Next button via
the first page, I would like to catch the event and do some work and vice
versa when in the second page, a pressed Back button event occurs. I don't
know how to add a listener in my wizard to listen to those events ala
performFinish() for example.

Thanks in advance,

Guillaume
Re: Plug In development - Wizard creation [message #213284 is a reply to message #213156] Fri, 01 June 2007 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g_boivin_dufault.hotmail.com

anyone?
Re: Plug In development - Wizard creation [message #213427 is a reply to message #213284] Sat, 02 June 2007 19:36 Go to previous message
Octavio is currently offline OctavioFriend
Messages: 7
Registered: July 2009
Junior Member
I can't find the exact answer to your question, but here's an alternative:

the WizardDialog that shows your wizard should implement the following
methods from IPageChangeProvider:
addPageChangedListener(IPageChangedListener)
getSelectedPage()
removePageChangedListener(IPCL)

So, instead of listening to the buttons, you listen to the WizardDialog...

(would you happen to know how can I make my wizardPages larger by
reclaiming the space allocated to the optional progress information area
that is between the page content area and the button area?
setNeedsProgressMonitor(false) is not doing the trick.)

Octavio
Previous Topic:newbie on workspace resource programming
Next Topic:Build/Compile EJB
Goto Forum:
  


Current Time: Tue Sep 24 00:24:56 GMT 2024

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

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

Back to the top