import statements

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

import statements

Postby Chris » Fri Feb 01, 2008 7:07 pm

When I add a widget and then delete it, the import statements associated with that widget remain in the code. I guess it's not too big of a deal for me to manually delete them, but is this a sign of something not working properly in my copy of SWT Designer? If this is normal, is there any other source code like that that I will sometimes need to clean up after I delete a widget from the design tab?
Posts: 2
Joined: Wed Jan 30, 2008 6:55 am

Re: import statements

Postby Eric Clayberg » Sat Feb 02, 2008 3:48 am

You don't need to do anything except turn on Eclipse's Organize imports on save action.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
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 2 guests