Complete Wizard

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Complete Wizard

Postby avier5 » Thu Jul 22, 2004 12:26 am

Hi All, I need some help here..... :arrow: :D

I want to create my own custome wizard to get some info from the user. I basicly want to know how can I change to wizard (for example change the buttons' text or add more button to them...) to look as I want it to be?

Maybe you know a good e-book for that issue?

Thanks,
A.B
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Postby admin » Thu Jul 22, 2004 2:16 am

admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby avier5 » Thu Jul 22, 2004 3:29 am

admin wrote:How about using google?
Here are two articles, I found them just in 20 seconds. :-)

http://www-106.ibm.com/developerworks/library/os-ecjfw/
http://www.eclipse.org/articles/Article-JFace%20Wizards/wizardArticle.html



Thanks but,I have looked at the articals you posted....
Maybe you can post a complete example of source code of a very simple wizard dialog.

Thanks
AB
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Postby admin » Thu Jul 22, 2004 4:09 am

Ok, I've uploaded small application with wizard with two pages.
http://www.swt-designer.com/examples/wizard_example.zip

Extract it in your SWT/JFace project and run TestWizardApplication class.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby avier5 » Thu Jul 22, 2004 4:38 am

Thanks A LOT!!!! :D :lol: :wink: :wink: 8) :) :D
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Postby avier5 » Thu Jul 22, 2004 4:46 am

admin wrote:Ok, I've uploaded small application with wizard with two pages.
http://www.swt-designer.com/examples/wizard_example.zip

Extract it in your SWT/JFace project and run TestWizardApplication class.


I have jumped too fast ...the example doesn't work a fatel error accurs...
Can you check it? and tell me what is the problem?

AB
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Postby admin » Thu Jul 22, 2004 4:56 am

No, you should tell, what is your problem. :-)
What exception you see, or what other problem you have?
Do you have SWT/JFace/OSGI libraries for your project?
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby avier5 » Thu Jul 22, 2004 5:13 am

admin wrote:No, you should tell, what is your problem. :-)
What exception you see, or what other problem you have?
Do you have SWT/JFace/OSGI libraries for your project?


I are absolotly right , I added the libraries ...and it work well.

Sorry and THANKS A LOT :lol:
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Postby allawy » Thu Jul 22, 2004 5:34 am

I have suggested before to have a wizard wizard, this would be cool really, some way to design and connect all the pages together.

What I mean is some dialog design view that I can add the pages to and test.
allawy
 
Posts: 43
Joined: Wed Mar 10, 2004 7:28 pm

Postby admin » Thu Jul 22, 2004 7:15 am

Wizard is almost nothing - just set of "addPage" invocations in "addPages" method. It is more easy to add them by hands than with Designer. Only reason for supporting this feature in Designer that I see is to check without running, how several pages will look, i.e. don't open each of them, but group in one place.

I don't know... Not very useful feature, at least for me. May be later.
Or you should provide more arguments. :-)
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest