Skip to main content


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 16:31 Go to next message
123star  is currently offline 123star Friend
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 09:11 Go to previous message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 169
Registered: July 2009
Location: Palaiseau, France
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


Remi Schnekenburger

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
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: Thu Apr 25 16:31:21 GMT 2024

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

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

Back to the top