Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Detecting buttons clicks on wizards
Detecting buttons clicks on wizards [message #445661] Mon, 06 March 2006 14:43 Go to next message
Eclipse UserFriend
Originally posted by: imran.moolla.gmail.com

Hi There,

I am new to RCP. I am busy creating a wizard and I can't seem to find how
to detect when the user has clicked the "Next" or "Finish" buttons on the
wizard. Any pointers or help will be greatly appreciated.

Thanks

Joe.
Re: Detecting buttons clicks on wizards [message #445675 is a reply to message #445661] Mon, 06 March 2006 19:03 Go to previous messageGo to next message
Amit Rana is currently offline Amit RanaFriend
Messages: 21
Registered: July 2009
Junior Member
org.eclipse.jface.wizard.Wizard has a method "performFinish" which is
called when you click on finish. But whether it should be enabled or
disabled depends on return value of "canFinish".

I am not sure how to catch "Next" button event, may be getNextPage or
override setVisible of the next page.

HTH

Regards,
Amit.

Joe Mools wrote:
> Hi There,
>
> I am new to RCP. I am busy creating a wizard and I can't seem to find
> how to detect when the user has clicked the "Next" or "Finish" buttons
> on the wizard. Any pointers or help will be greatly appreciated.
>
> Thanks
>
> Joe.
>
Re: Detecting buttons clicks on wizards [message #447723 is a reply to message #445661] Thu, 13 April 2006 14:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gmcintosh.ivis.com

as the other poster said, there's a performFinish method you can
over-ride, but if you're really into capturing the events, why not add
another listener to the Dialog?

Joe Mools wrote:
> Hi There,
>
> I am new to RCP. I am busy creating a wizard and I can't seem to find
> how to detect when the user has clicked the "Next" or "Finish" buttons
> on the wizard. Any pointers or help will be greatly appreciated.
>
> Thanks
>
> Joe.
>
Re: Detecting buttons clicks on wizards [message #447737 is a reply to message #447723] Thu, 13 April 2006 20:34 Go to previous message
Michael Schmidt is currently offline Michael SchmidtFriend
Messages: 45
Registered: July 2009
Member
There are quite a few bits that are needed to get a wizard up and running.
Here is an on-line article I found helpful.
http://www.eclipse.org/articles/Article-JFace%20Wizards/wiza rdArticle.html

Hope this helps!
Michael Schmidt
Previous Topic:Error handling
Next Topic:RCP toolbar contribution not showing in 3.2M6
Goto Forum:
  


Current Time: Sat Nov 02 15:05:05 GMT 2024

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

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

Back to the top