Databinding adds classes with errors

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

Databinding adds classes with errors

Postby ryan_dunn » Mon Mar 01, 2010 1:12 pm

Using the SWT Designer to define a binding, adds four classes to the package com.instantiations.designer.databinding:
EMFEditBeansListObervableFactory
EMFListenerSupport
EMFTreeBeanAdvisor
EMFTreeObservableLableProvider

and contain errors:
BeansObservableFactory cannot be resolved to a type
IdentityWrapper cannot be resolved to a type
Cannot reduce the visibility of the inherited method from EMFListenerSupport
which all seem to stem from missing classes. This post here indicates that other classes should be generated and added to this package as well: viewtopic.php?f=1&t=2160&start=0

It looks like when using an EMF binding, that all the classes do not get generated. Also, what are these classes used for? They don't seem to be needed at runtime as I can delete them and my code runs fine.
ryan_dunn
 
Posts: 9
Joined: Thu Nov 12, 2009 7:35 am

Re: Databinding adds classes with errors

Postby Eric Clayberg » Tue Mar 02, 2010 6:03 am

Hmmm. This sounds like an issue that was fixed some time ago.

Those classes are all used to support various aspects of EMF Data Binding.

Please update to the very latest SWT Designer v7.3 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: Databinding adds classes with errors

Postby ryan_dunn » Tue Mar 02, 2010 6:43 am

Yeah, looks like I'm still on 7.2. I bought the RCP Developer package, and its update site is in my list of update locations (http://download.instantiations.com/RCPD ... update/3.5). It does not list any updates for SWT Designer. Should I add the update site for SWT Designer, even though my key is for RCP Developer?

Edit: It looks like 7.3 is available in the 4.0.1 latest release. I changed my update site to the latest stable instead of the general release, and got the updates that way. Although, it makes me a bit uneasy that it's not the general release; hopefully I won't have any trouble.
ryan_dunn
 
Posts: 9
Joined: Thu Nov 12, 2009 7:35 am

Re: Databinding adds classes with errors

Postby Eric Clayberg » Tue Mar 02, 2010 9:20 am

It would be best to use the latest build update site for SWT Designer, if you want the latest SWT Designer bits (which are very stable).
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: Google [Bot] and 2 guests