Generalization strange behaviour [message #632922] |
Thu, 14 October 2010 12:31  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03947 seconds