Broken Designer Preference?

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

Broken Designer Preference?

Postby steves » Mon Aug 08, 2005 7:55 pm

I can't seem to get the General preference 'Add ResourceManager class to existing project as necessary' to work. I assume that if it is not checked, I don't have to worry about Designer adding this class to my project all the time. However, with both 4.1.0 and 4.1.1, ResourceManager/SWTResourceManager are added regardless of the state of the checkbox.

Is this preference broken or do I just not understand what it's supposed to control?

Thanks.
steves
 
Posts: 4
Joined: Mon Aug 08, 2005 7:49 pm

Re: Broken Designer Preference?

Postby Eric Clayberg » Wed Aug 10, 2005 5:39 pm

steves wrote:I can't seem to get the General preference 'Add ResourceManager class to existing project as necessary' to work. I assume that if it is not checked, I don't have to worry about Designer adding this class to my project all the time.

All the time? That class is only generated when it is needed. If that class is not present, you won't be able to set colors or fonts.

steves wrote:Is this preference broken or do I just not understand what it's supposed to control?

The preference was broken. It has been fixed in the latest v4.1.1 build.
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

Re: Broken Designer Preference?

Postby steves » Thu Aug 11, 2005 4:47 pm

Hi Eric,

Eric Clayberg wrote:All the time? That class is only generated when it is needed. If that class is not present, you won't be able to set colors or fonts.


I should have been more specific. No, not all the time; indeed, only when Designer detects that it is needed. I don't want to get into why I need to do this because it will probably get me flamed :oops:, but it is only temporary.

Eric Clayberg wrote:The preference was broken. It has been fixed in the latest v4.1.1 build.


Thanks for the quick turnaround!
steves
 
Posts: 4
Joined: Mon Aug 08, 2005 7:49 pm

Postby EricHansen » Tue Dec 06, 2005 5:52 pm

I've recently installed 4.2.0 with Eclispse 3.1.1 on my OSX (10.4) machine and the ResourceManager classes are NOT automatically added to the project anymore, regardless if the box is checked or not :( It was working on the Mac in Designer 4.1.0 and Eclipse 3.1

Please Help! My composites that need to change fonts sizes, etc will not compile.

Thanks,
Eric-
Eric Hansen
EricHansen
 
Posts: 2
Joined: Wed Nov 23, 2005 12:41 pm

Postby Eric Clayberg » Thu Dec 08, 2005 3:10 pm

EricHansen wrote:I've recently installed 4.2.0 with Eclispse 3.1.1 on my OSX (10.4) machine and the ResourceManager classes are NOT automatically added to the project anymore, regardless if the box is checked or not :( It was working on the Mac in Designer 4.1.0 and Eclipse 3.1

Have you tried v4.2.1? I tried it and it seemed to work fine.

Do any exceptions appear in your Eclipse ".log" file?

EricHansen wrote:Please Help! My composites that need to change fonts sizes, etc will not compile.

You can always copy the classes from the plugins\com.swtdesigner_4.2.x\supplied_src directory.
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