Skip to main content


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 CaselliFriend
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 ClaybergFriend
Messages: 979
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 CaselliFriend
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 ClaybergFriend
Messages: 979
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 PalyartFriend
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 messageGo to next message
B. KISS is currently offline B. KISSFriend
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 ?
Re: WindowBuilder and EMF databinding Tutorial [message #1720876 is a reply to message #735126] Thu, 21 January 2016 15:41 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi Eric,
these links
Quote:
I would recommend the WindowBuilder Data Binding docs and tutorial.

are no more valid, which makes sense since they are 5-year's old Smile

Are there new links or tutorials about WindowBuilder and databinding (both with or without EMF)?

Thank you very much
Vincenzo
Re: WindowBuilder and EMF databinding Tutorial [message #1721099 is a reply to message #1720876] Sat, 23 January 2016 18:02 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Did you try the Documentation link on the WindowBuilder Project page?
Re: WindowBuilder and EMF databinding Tutorial [message #1721113 is a reply to message #1721099] Sun, 24 January 2016 07:21 Go to previous message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Sorry, I should have looked there before asking.
Here is the direct link to the EMF Databinding section, update for Mars
http://help.eclipse.org/mars/topic/org.eclipse.wb.rcp.doc.user/html/features/swt/data_binding/emf_bindings.html

Thank you Eric!
Previous Topic:Support for rollback/cancel-button for EMF data binding actions?
Next Topic:Windowbuilder does not work well
Goto Forum:
  


Current Time: Fri Apr 19 15:38:38 GMT 2024

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

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

Back to the top