Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Generalization strange behaviour
Generalization strange behaviour [message #632922] Thu, 14 October 2010 12:31 Go to next message
123star  is currently offline 123star
Messages: 70
Registered: June 2010
Member
Hi,

I need to execute some code after a generalization is created from the user with the palette among two Components, so I'm listening with a IPapyrusListener to notification events and I've found this:

in composite structure diagram 3 events are notified:

1)Type: ADD, Notifier: Class, NewValue: Generalization,
NameOfAttribute: generalization

2)Type: SET, Notifier: Generalization, NewValue: Class,
NameOfAttribute: specific

3)Type: SET, Notifier: Generalization, NewValue: Class,
NameOfAttribute: general

In class diagram the event 2 is missing, even if the action is the same (creation of a generalization among two Components), is it a bug?

Thanks in advance, 123star
Re: Generalization strange behaviour [message #634006 is a reply to message #632922] Wed, 20 October 2010 05:11 Go to previous message
Remi Schnekenburger is currently offline Remi Schnekenburger
Messages: 127
Registered: July 2009
Senior Member
Hi,

It surprising, as this should be the same commands. Moreover, when adding the generalization in the class diagram, the attributes of the generalization are correclty set.

So, i would say this is not really a bug, but this would be interesting to know the cause of this missing notification.

Regards
RĂ©mi


Previous Topic:How to create UML elements from own popupactions
Next Topic:working with gmfgen in papyrus, and doubts about sysml profile
Goto Forum:
  


Current Time: Sun Aug 31 04:28:23 EDT 2014

Powered by FUDForum. Page generated in 0.01581 seconds