Dear Ernesto,
You may find the migration information here:
https://wiki.eclipse.org/Papyrus/Migration_Guide/Neon#ElementTypesConfiguration_Framework
for Neon
https://wiki.eclipse.org/Papyrus/Migration_Guide/Oxygen#ElementTypesConfiguration_Framework
for Oxygen
The “Apply Stereotype Advice Configuration” advice is defined in org.eclipse.papyrus.uml.types.core plugin (namely in
the ApplyStereotypeAdvice.ecore metamodel).
Best regards.
/Florian
De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx]
De la part de Ernesto Posse
Envoyé : lundi 14 août 2017 17:19
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : [mdt-papyrus.dev] Element types configuration: apply stereotype advice
Hello all. I have a question about element-types configuration for a custom DSML. I'm not sure if this is the right place to ask it, or the user-forum. In fact that's a question on its own: which is the right forum/list for Papyrus DSML
designers/implementers?
Anyway, the question is this: how do you create an "Apply Stereotype" advice in an element-types configuration model with Papyrus for Toolsmiths 1.0 (on Papyrus 3.0/Oxygen)? In previous versions of Papyrus,
and according to Florian's slides at [1], there is an "Apply Stereotype Advice Configuration" child node type to "Element Type Set Configuration", but I do not see that option in either the "New child" menu for the "Element Type Set Configuration" nor the
"New sibling" menu for the "Specialization Type Configuration". See the attached screenshots.
I found ElementTypesConfigurations.ecore in org.eclipse.papyrus.infra.types, but the slides say the meta-model is in org.eclipse.papyrus.infra.elementtypesconfiguration, which I cannot find. I assume it was renamed, is this the right meta-model?
In any case, this model doesn't seem to have a meta-class for ApplyStereotypeAdviceConfiguration, so how do you do this now?