Menu Designer failing after inserting 3rd Action

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

Menu Designer failing after inserting 3rd Action

Postby lacou » Sun Nov 16, 2003 11:34 am

Hi,

After inserting a 3rd action into a menu item (Ex: Under File you would have 'Open', 'Save', 'Quit'), SWT designer produces garbage code.

Here is what it gave me.

final MenuManager menuManager = new MenuManager("Fichier");
menuManager.add(aNew);
menuManager.add(aOpen); rmenuManager.add(aSave);esult.add(menuManager);

Look at the 'r' of result which is in front of the menuManager.add(aSave).

Fixing it by hand makes the designer not to recognize the code anymore, ie actions becomes blanks. This is on swt pro 1.2.1 and 1.2.2 beta and on Eclipse 3.0M4
lacou
 
Posts: 15
Joined: Mon Nov 03, 2003 7:33 pm

Re: Menu Designer failing after inserting 3rd Action

Postby Eric Clayberg » Tue Nov 18, 2003 8:16 pm

lacou wrote:After inserting a 3rd action into a menu item (Ex: Under File you would have 'Open', 'Save', 'Quit'), SWT designer produces garbage code.

The 1.2.2 beta has been updated and includes fixes for the above.
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