Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Supressing notifications for individual attributes and maps?
Supressing notifications for individual attributes and maps? [message #424078] Wed, 15 October 2008 22:34 Go to next message
Bryan Hunt is currently offline Bryan HuntFriend
Messages: 366
Registered: July 2009
Senior Member
Is there a way to supress notifications for an individual attribute or
map through the generator? I know I can override setXXX() and take out
the notification, but I was looking for a way to do this through the
generator. Also, I'm not sure how to supress notification of map
changes.

Bryan
Re: Supressing notifications for individual attributes and maps? [message #424083 is a reply to message #424078] Thu, 16 October 2008 00:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Bryan,

No, there's not a way to suppress notification.


Bryan Hunt wrote:
> Is there a way to supress notifications for an individual attribute or
> map through the generator? I know I can override setXXX() and take
> out the notification, but I was looking for a way to do this through
> the generator. Also, I'm not sure how to supress notification of map
> changes.
>
> Bryan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Supressing notifications for individual attributes and maps? [message #424089 is a reply to message #424083] Thu, 16 October 2008 02:57 Go to previous messageGo to next message
Bryan Hunt is currently offline Bryan HuntFriend
Messages: 366
Registered: July 2009
Senior Member
Thanks for the clarification Ed. I think the best way to get the
functionality I want is to overload eNotify() and skip the
notifications I need supressed.

Bryan

On 2008-10-15 19:05:17 -0500, Ed Merks <Ed.Merks@gmail.com> said:

> Bryan,
>
> No, there's not a way to suppress notification.
>
>
> Bryan Hunt wrote:
>> Is there a way to supress notifications for an individual attribute or
>> map through the generator? I know I can override setXXX() and take out
>> the notification, but I was looking for a way to do this through the
>> generator. Also, I'm not sure how to supress notification of map
>> changes.
>>
>> Bryan
Re: Supressing notifications for individual attributes and maps? [message #424091 is a reply to message #424089] Thu, 16 October 2008 04:59 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Bryan,

Couldn't the client just ignore notifications that aren't interesting?
I'm not sure why you'd have a feature and then at the model level not
notify for that feature... Maybe it's a derived feature so you can
don't it recorded?


Bryan Hunt wrote:
> Thanks for the clarification Ed. I think the best way to get the
> functionality I want is to overload eNotify() and skip the
> notifications I need supressed.
>
> Bryan
>
> On 2008-10-15 19:05:17 -0500, Ed Merks <Ed.Merks@gmail.com> said:
>
>> Bryan,
>>
>> No, there's not a way to suppress notification.
>>
>>
>> Bryan Hunt wrote:
>>> Is there a way to supress notifications for an individual attribute
>>> or map through the generator? I know I can override setXXX() and
>>> take out the notification, but I was looking for a way to do this
>>> through the generator. Also, I'm not sure how to supress
>>> notification of map changes.
>>>
>>> Bryan
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:uma model editor - resource does not exist
Next Topic:Building UML2-approximated Model in EMF
Goto Forum:
  


Current Time: Thu Apr 25 20:24:15 GMT 2024

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

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

Back to the top