import IdentityWrapper in ListenerSupport

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 IdentityWrapper in ListenerSupport

Postby cyril.lakech » Tue Aug 19, 2008 11:43 pm

Hi,

We use SWT Designer to databind a treeviewer and many classes were added to our sources directory automaticly.

Here is the list of the classes added in the package com.instantiations.designer.databinding:
BeansListObservableFactory
BeansObservableFactory
BeansSetObservableFactory
IdentityWrapper
ListenerSupport
TreeBeanAdvisor
TreeObservableLabelProvider
Utils

That's not a problem, but one class has a warning : ListenerSupport

It seems this class import the IdentityWrapper from the internal package of org.eclipse.core.internal.databinding.

So i changed this import to "nothing" since IdentityWrapper is one of the classes added to our sources directory in the same package as ListenerSupport.

So, just a thread to say we could avoid a internal import just by deleting the import.

Aurevoir
cyril.lakech
 
Posts: 19
Joined: Tue Aug 19, 2008 11:35 pm

Re: import IdentityWrapper in ListenerSupport

Postby Eric Clayberg » Wed Aug 20, 2008 8:03 am

Try it again with the latest 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: import IdentityWrapper in ListenerSupport

Postby cyril.lakech » Fri Aug 22, 2008 4:07 am

Ok I will try with the latest build when i'll have to do an upgrade to get a new functionnality.

It's is just a warning due to an internal import... i've deleted the import line in the generated classe, and now findbugs is happy.

Thx
cyril.lakech
 
Posts: 19
Joined: Tue Aug 19, 2008 11:35 pm

Re: import IdentityWrapper in ListenerSupport

Postby Eric Clayberg » Fri Aug 22, 2008 5:42 am

cyril.lakech wrote:It's is just a warning due to an internal import... i've deleted the import line in the generated classe, and now findbugs is happy.

That import has been removed in the latest builds.
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 2 guests