Skip to main content



      Home
Home » Modeling » Papyrus » Generalization strange behaviour
Generalization strange behaviour [message #632922] Thu, 14 October 2010 12:31 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Mon Jul 07 23:28:15 EDT 2025

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

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

Back to the top