Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Catching next pressed events inside a JFace wizard
Catching next pressed events inside a JFace wizard [message #154097] Fri, 07 November 2003 17:11 Go to next message
Eclipse UserFriend
Originally posted by: janestockdill.hotmail.com

Is it possible to know when the next button is pressed on a JFace wizard so
that I can do some processing before the next page is shown.
The data in my wizard pages is linked so if on page 1 I enter a name on page
2 I want to show that name I am currently saving the name into a model
and on the next page I am getting the data back from the model.

The data to display is in the createControl() method and it seems to me that
this is called when either the page is added to a wizard or when a new
instance of it is created.
Therefore I don't want to create / add the page until the next button is
pressed so that I know the data in the model is up to date.

I can't seem to find any methods that I can use - I am just missing them ?

Thanks

Jane
Re: Catching next pressed events inside a JFace wizard [message #154113 is a reply to message #154097] Fri, 07 November 2003 17:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

You will get a setVisible(true) when you are switched to a page. You can
setup the name at that time.


--
Thanks, Rich Kulp

Re: Catching next pressed events inside a JFace wizard [message #769176 is a reply to message #154097] Wed, 21 December 2011 14:24 Go to previous message
Jean-Louis GUENEGO is currently offline Jean-Louis GUENEGOFriend
Messages: 1
Registered: December 2011
Junior Member
org.eclipse.jface.wizard.WizardDialog has a nextPressed() method that should suit your needs.
Previous Topic:Unable to Create Servlet Because of Getting Error While Creating Servlet in Eclipse for Java EE
Next Topic:org.eclipse.ui.menus vs. actionSets in Perspectives
Goto Forum:
  


Current Time: Fri Sep 20 23:59:47 GMT 2024

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

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

Back to the top