Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » UI data binding and EMF
UI data binding and EMF [message #1725312] Wed, 02 March 2016 12:48 Go to next message
aurel pestell is currently offline aurel pestellFriend
Messages: 90
Registered: October 2013
Location: Sweden
Member
Hi,

I know it's been made easy to bind emf data models to Jface forms but
what if the GUI is nothing related to Jface ?
In my case, I would like to be able to edit EObject's attributes that are of Type String for instance.
Is there a pattern I could use ?

Thanks

A.
Re: UI data binding and EMF [message #1725400 is a reply to message #1725312] Thu, 03 March 2016 09:59 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Which UI technology do you want to use? SWT?

Am 02.03.2016 um 13:48 schrieb aurel pestell:
> Hi,
>
> I know it's been made easy to bind emf data models to Jface forms but
> what if the GUI is nothing related to Jface ?
> In my case, I would like to be able to edit EObject's attributes that
> are of Type String for instance.
> Is there a pattern I could use ?
>
> Thanks
>
> A.


--
--

Jonas Helming

Get professional Eclipse developer support:

http://eclipsesource.com/en/services/developer-support/
Re: UI data binding and EMF [message #1725709 is a reply to message #1725400] Mon, 07 March 2016 08:30 Go to previous messageGo to next message
aurel pestell is currently offline aurel pestellFriend
Messages: 90
Registered: October 2013
Location: Sweden
Member
Unfortunately not, I use the native UI from Siemens' NX. But what I have done is to create a mediating class that delegates set/get methods between the UI and the data. Not sure if that's the correct way but it seems to work so far !
Re: UI data binding and EMF [message #1725831 is a reply to message #1725709] Tue, 08 March 2016 01:39 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Yes, seems like a good way, you need to implement IObservables for the
UI part then, for the EMF part, you can use exusting databinding...

Am 07.03.2016 um 09:30 schrieb aurel pestell:
> Unfortunately not, I use the native UI from Siemens' NX. But what I have
> done is to create a mediating class that delegates set/get methods
> between the UI and the data. Not sure if that's the correct way but it
> seems to work so far !


--
--

Jonas Helming

Get professional Eclipse developer support:

http://eclipsesource.com/en/services/developer-support/
Previous Topic:Henshin to ATL Transformation
Next Topic:Unresolved reference '//@class.1'
Goto Forum:
  


Current Time: Thu Sep 26 14:51:31 GMT 2024

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

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

Back to the top