Skip to main content



      Home
Home » Modeling » EMF » Supressing notifications for individual attributes and maps?
Supressing notifications for individual attributes and maps? [message #424078] Wed, 15 October 2008 18:34 Go to next message
Eclipse UserFriend
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] Wed, 15 October 2008 20:05 Go to previous messageGo to next message
Eclipse UserFriend
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 #424089 is a reply to message #424083] Wed, 15 October 2008 22:57 Go to previous messageGo to next message
Eclipse UserFriend
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 00:59 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:uma model editor - resource does not exist
Next Topic:Building UML2-approximated Model in EMF
Goto Forum:
  


Current Time: Wed Nov 05 06:35:28 EST 2025

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

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

Back to the top