Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms] order of getter/setter calls(eGet() eSet())
[EMF Forms] order of getter/setter calls [message #1705084] Tue, 11 August 2015 23:38 Go to next message
Alexander Zavodnikov is currently offline Alexander ZavodnikovFriend
Messages: 14
Registered: August 2015
Junior Member
Hi

is there a predictable order of EObject getter/setter calls in EMF Forms?
Is always eSet() method called before setter?
If so, is it always called once?
Re: [EMF Forms] order of getter/setter calls [message #1705108 is a reply to message #1705084] Wed, 12 August 2015 07:35 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

what use case are you asking about? Changing a value in a field?
All controls use databinding and AFAIK, databinding will call the eset
method. The eset method will then call the generated setters anyways.

Best regards

Jonas

Am 12.08.2015 um 01:38 schrieb Alexander Zavodnikov:
> Hi
>
> is there a predictable order of EObject getter/setter calls in EMF Forms?
> Is always eSet() method called before setter? If so, is it always called
> once?
>


--
--

Jonas Helming

Get professional Eclipse developer support:

http://eclipsesource.com/en/services/developer-support/
Re: [EMF Forms] order of getter/setter calls [message #1705147 is a reply to message #1705108] Wed, 12 August 2015 12:54 Go to previous messageGo to next message
Alexander Zavodnikov is currently offline Alexander ZavodnikovFriend
Messages: 14
Registered: August 2015
Junior Member
Hi Jonas

"All controls use databinding and it will call the eset method" - that's what I wanted to know, many thanks.

I evaluate EMF frameworks in general, I try to see how it all works. I need the ability to track value changes in the generated model layer, before the change notification goes.

Best regards
Alexander
Re: [EMF Forms] order of getter/setter calls [message #1705232 is a reply to message #1705147] Thu, 13 August 2015 07:06 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Glad I could help...

Cheers

Jonas

Am 12.08.2015 um 14:54 schrieb Alexander Zavodnikov:
> Hi Jonas
>
> "All controls use databinding and it will call the eset method" - that's
> what I wanted to know, many thanks.
>
> I evaluate EMF frameworks in general, I try to see how it all works. I
> need the ability to track value changes in the generated model layer,
> before the change notification goes.
> Best regards
> Alexander
>


--
--

Jonas Helming

Get professional Eclipse developer support:

http://eclipsesource.com/en/services/developer-support/
Previous Topic:EMF Form
Next Topic:The use of XPath
Goto Forum:
  


Current Time: Fri Sep 25 18:07:01 GMT 2020

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

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

Back to the top