Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » WindowBuilder and EMF databinding Tutorial
WindowBuilder and EMF databinding Tutorial [message #734278] Fri, 07 October 2011 11:05 Go to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 4
Registered: July 2009
Junior Member
Hi all,
we wrote a tutorial on how to use WindowBuilder with EMF databinding on
a TableViewer. Here is the link
http://www.rcp-vision.com/?p=1123&lang=en
The persistence is based on CDO over a MySQL database.
Any feedback about the article is welcome.
Thank you

Vincenzo Caselli
RCP Vision
Re: WindowBuilder and EMF databinding Tutorial [message #734470 is a reply to message #734278] Fri, 07 October 2011 22:07 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric Clayberg
Messages: 860
Registered: July 2009
Location: Boston, MA
Senior Member
Very nice!
Re: WindowBuilder and EMF databinding Tutorial [message #735098 is a reply to message #734470] Mon, 10 October 2011 22:34 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo Caselli
Messages: 4
Registered: July 2009
Junior Member
Hi Eric,
thank you!
I am trying to do the same with a TreeViewer, but cannot go beyond the
step showed in the enclosed figure: checkbox Text(String) seems
unselectable.
Are there any guide available on how to use WindowBuilder databinding
with the various JFace viewers?
Thank you again.
Cheers

Vincenzo




Il 08/10/2011 00:07, Eric Clayberg ha scritto:
> Very nice!
Re: WindowBuilder and EMF databinding Tutorial [message #735126 is a reply to message #735098] Tue, 11 October 2011 02:15 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric Clayberg
Messages: 860
Registered: July 2009
Location: Boston, MA
Senior Member
I would recommend the WindowBuilder Data Binding docs and tutorial.
Re: WindowBuilder and EMF databinding Tutorial [message #897579 is a reply to message #735126] Tue, 24 July 2012 15:03 Go to previous messageGo to next message
Marc Palyart is currently offline Marc Palyart
Messages: 4
Registered: November 2010
Junior Member
Hi all,

Thank you Vincenzo for this nice tutorial. I just have a small problem with the bindings as none of my EMF model elements appear in the list when I click on the EMF Bindings mode.

Is there something special to reference an Ecore metamodel in WindowBuilder ? The editor and my EMF model are in the same plugin for the moment.

Marc Palyart

Re: WindowBuilder and EMF databinding Tutorial [message #900360 is a reply to message #897579] Mon, 06 August 2012 15:40 Go to previous message
B. KISS is currently offline B. KISS
Messages: 1
Registered: August 2012
Junior Member
Hi, very nice tutorial indeed.
So I managed to link a bunch of single fields to my EMF models.
Nevertheless I'm still having problems : I tried the same with tableviewers and got stuck :
- I added into the user-interface class a variable of the class EMyTable (as generated by EMF)
- when it comes to the bindings, I select the tableviewer on the left, input, and on the right click emf button, select my variable, and the content properties.

index.php/fa/11039/0/

I click on the add binding icon, and I have nothing to select :
index.php/fa/11040/0/

Any ideas of what I'm doing wrong ?
Previous Topic:How to prevent negative values in width, height portions of bounds
Next Topic:problem with SWTResourceManager import
Goto Forum:
  


Current Time: Fri Sep 19 11:58:44 GMT 2014

Powered by FUDForum. Page generated in 0.01745 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software