EMF databinding

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

EMF databinding

Postby alexsmr » Thu Jul 03, 2008 9:14 am

Any plans to support EMF databinding?
alexsmr
 
Posts: 7
Joined: Fri Mar 19, 2004 8:04 am

Re: EMF databinding

Postby Eric Clayberg » Thu Jul 03, 2008 2:06 pm

alexsmr wrote:Any plans to support EMF databinding?

What did you have in mind?

Is there something special about it that isn't handled by our generic DB support?
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: EMF databinding

Postby alexsmr » Thu Jul 03, 2008 2:29 pm

It would be great to allow mapping EMF models in SWTDesigner too. Though the code looks similar to java beans one, there are some differences (reflection mostly):

Bean Observable. Here person is regular Java Bean:
Code: Select all
IObservableValue ageTextTextObserveWidget = SWTObservables.observeText(ageText, SWT.Modify);
IObservableValue firstNameTextObserveWidget = SWTObservables.observeText(firstName, SWT.Modify);
IObservableValue personAgeObserveValue = BeansObservables.observeValue(person, "age");
IObservableValue modelElement = BeansObservables.observeValue(person, "firstName");


EMF Observable. Here person is EObject:
Code: Select all
IObservableValue ageTextTextObserveWidget = SWTObservables.observeText(ageText, SWT.Modify);
IObservableValue firstNameTextObserveWidget = SWTObservables.observeText(firstName, SWT.Modify);
IObservableValue personAgeObserveValue = EMFObservables.observeValue(person, PersonPackage.Literals.PERSON__AGE);
IObservableValue modelElement = EMFObservables.observeValue(person, PersonPackage.Literals.PERSON__NAME);


You're already have support for Java Beans. Adding similar support for EMF, will give you an army of EMF followers :-)

Alex Smirnoff.
alexsmr
 
Posts: 7
Joined: Fri Mar 19, 2004 8:04 am

Re: EMF databinding

Postby Eric Clayberg » Fri Jul 04, 2008 5:35 am

That doesn't look too hard to support, so we'll add it to our list for later in the year.
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: EMF databinding

Postby alexsmr » Fri Jul 04, 2008 7:13 am

Great!!! Cant wait to see it.
alexsmr
 
Posts: 7
Joined: Fri Mar 19, 2004 8:04 am

Re: EMF databinding

Postby Eric Clayberg » Sat Jul 05, 2008 5:20 pm

alexsmr wrote:Great!!! Cant wait to see it.

We'll let you know.
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: EMF databinding

Postby JoshPrismon » Wed Aug 27, 2008 8:47 pm

Awesome! Can't wait to see this - we just bought a fairly large number of licenses, and this is one feature we knocked the product on during our evaluation.
JoshPrismon
 
Posts: 1
Joined: Wed Aug 27, 2008 3:37 pm

Re: EMF databinding

Postby Eric Clayberg » Fri Aug 29, 2008 4:35 am

We are still planning to do this later this year.
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: EMF databinding

Postby Qwerto » Wed Jan 07, 2009 4:40 am

Any news on this requested feature? I also need this!
Qwerto
 
Posts: 4
Joined: Wed Jan 07, 2009 4:36 am

Re: EMF databinding

Postby Eric Clayberg » Wed Jan 07, 2009 1:52 pm

Qwerto wrote:Any news on this requested feature?

It's still on the list but other more important features have taken precedence.
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: EMF databinding

Postby richardcatlin » Wed Jun 17, 2009 11:04 am

Has this been implemented yet? I am using EMF for the Model-Controller layer.

Also, can your GWT bind to the EMF layer?

Richard Catlin
richardcatlin
 
Posts: 3
Joined: Wed Jun 17, 2009 11:00 am

Re: EMF databinding

Postby Eric Clayberg » Wed Jun 17, 2009 12:39 pm

richardcatlin wrote:Has this been implemented yet? I am using EMF for the Model-Controller layer.

Yes. See the EMF Data Binding Docs in v7.0.

Image

Image

richardcatlin wrote:can your GWT bind to the EMF layer?

GWT does not have an official data binding framework yet as far as I know.
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: EMF databinding

Postby tomsontom » Thu Jun 25, 2009 12:44 pm

Eric. Just wanted to inform you about work we are doing in http://wiki.eclipse.org/UFaceKit to hopefully provide Eclipse-Databinding for GWT and probably SmartGWT in the 3.6 timeframe. I already had a working DB for GWT running some time ago so technically it is easily possible it's simply a matter of time no that 3.5 is out of the doors. So if you are interested in this work simply drop me a mail to tom.schindl at bestsolution.at
tomsontom
 
Posts: 2
Joined: Thu Jun 25, 2009 11:37 am

Re: EMF databinding

Postby Eric Clayberg » Fri Jun 26, 2009 6:44 am

tomsontom wrote:Just wanted to inform you about work we are doing in http://wiki.eclipse.org/UFaceKit to hopefully provide Eclipse-Databinding for GWT and probably SmartGWT in the 3.6 timeframe.

Sounds interesting.
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: EMF databinding

Postby tomsontom » Sun Jun 28, 2009 1:48 am

Eric Clayberg wrote:
tomsontom wrote:Just wanted to inform you about work we are doing in http://wiki.eclipse.org/UFaceKit to hopefully provide Eclipse-Databinding for GWT and probably SmartGWT in the 3.6 timeframe.

Sounds interesting.

Ok. The first bits for GWT are available from our repository and I blogged in detail about it http://tomsondev.bestsolution.at/2009/06/27/eclipse-databinding-3-5-for-gwt/.
tomsontom
 
Posts: 2
Joined: Thu Jun 25, 2009 11:37 am

Next

Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests