Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] [Element Types] How to manage Stereotype Application

Dear Florian,

You understood quite well. The current Framework seems not to take the StereotypeApplication edition into account.
I will investigate to use Listener instead.

Thank you for your contribution.

Regards
Céline



Le 29/07/2015 15:08, NOYRIT Florian a écrit :

Dear Celine,

 

If I understand well your question, the current elementtype framework doesn't provide stereotype application (nor profile application) support.

The main reason is that profile/stereotype editions (application/unapplication) are not done through AbstractEditCommandRequest.

 

The elementtype framework may be extended to support stereotype/profile editions requests. I haven't investigated the feasability and the implications (I suspect it will impact many things in Papyrus) but it seems to be the appropriate solution. 

Depending on your objective, you may use profile/stereotype listeners (org.eclipse.papyrus.uml.tools.listeners) as workaround to be reactive to profile/stereotype editions.

 

Best regards.

 

/Florian

 


De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mdt-papyrus.dev-bounces@xxxxxxxxxxx] de la part de Céline JANSSENS [celine.janssens@xxxxxxxxxxx]
Envoyé : mercredi 29 juillet 2015 10:19
À : Papyrus Project list
Objet : [mdt-papyrus.dev] [Element Types] How to manage Stereotype Application

Hello everyone,

As a lot of people are in vacation I push my request on this Mailing List. Hope I can find some pieces of help.

I start working with element types for Papyrus RT project, and I would like to trigger the Edit Service Helper Advice for a Stereotype Application edition.
Until now I only manage to trigger helper Advice for UML object but not for Stereotype Application (which is only an EObject).

To match on StereotypeApplication , I created the following Classes and refer it into element types configuration :
    


But I never trigger the Edit Helper Advice, when check and uncheck boxes related to the application of stereotype RTPort in a property View.

Is there a way to do so?

Did I miss something?

Thank you
Best regards
Céline
--
 
  Céline JANSSENS
Software Engineer
+33 (0)2 44 47 23 23
  Mail : cej@xxxxxxxxxxx

6 rue Léonard De Vinci - BP 0119 - 53001 LAVAL Cedex - FRANCE
www.all4tec.net


_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev

--

 
  Céline JANSSENS
Software Engineer
+33 (0)2 44 47 23 23
  Mail : cej@xxxxxxxxxxx

6 rue Léonard De Vinci - BP 0119 - 53001 LAVAL Cedex - FRANCE
www.all4tec.net

Back to the top