data binding beteen xtext and swt [message #1048338] |
Wed, 24 April 2013 06:23  |
Eclipse User |
|
|
|
I am building a plugin for eclipse that provides a graphical editor.
In this editor, I want to bind some data between an XText model and the SWT widgets. How can I do this while updating the XTextDocument automatically?
Are there existing tools that help with this, or do code generation for this?
By now, I have created with window builder plugin JFace Automatic Databinding with controller class.
it seem that whenever I change the text field which the xtext data model (JString) is bind to, the binding put null/new instance of JString into the JString instance.
so the document isn't familiar with the new JString instance and it is not updated with the new data.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24360 seconds