JFace Action Problem

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

JFace Action Problem

Postby mateu » Thu Mar 09, 2006 1:34 am

I'm having problems working with a JFace ApplicationWindow:
I want to create a menu, and a cool bar. To put buttons on them I have to create actions, but I don't know how I can create them. Is there any way to create them with the designer?
If tried to create them by editing the source code, but when I try to modify its contents I get errors of Designer.

Thanks
mateu
 
Posts: 4
Joined: Wed Nov 30, 2005 3:03 am

Re: JFace Action Problem

Postby Eric Clayberg » Thu Mar 09, 2006 4:44 am

mateu wrote:I'm having problems working with a JFace ApplicationWindow:
I want to create a menu, and a cool bar. To put buttons on them I have to create actions, but I don't know how I can create them. Is there any way to create them with the designer?

Yes. Use the Design page's Actions tab as described in the product docs...

Image

mateu wrote:If tried to create them by editing the source code, but when I try to modify its contents I get errors of Designer.

Could you be more specific and post any exceptions that you got? Example code would also be useful.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest