Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Element types configuration: apply stereotype advice

Thanks Florian. That's a useful guide, but I'm still unclear about the details. Adding the "Apply Stereotype Advice" is done now by adding an "Externally Registered Advice" with Target the  "Apply Stereotype Advice Configuration"? Or perhaps an "Advice Binding Configuration"? Either way, it doesn't appear in the Target's drop-down box, and I do have org.eclipse.papyrus.uml.types.core in my plugin's dependencies and target platform.

--
Ernesto


On Wed, Aug 16, 2017 at 2:59 AM NOYRIT Florian <florian.noyrit@xxxxxx> wrote:

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?

 

Thanks,

 

--

Ernesto Posse

Zeligsoft

 

 

--

Ernesto Posse

Zeligsoft

--

Ernesto Posse

Zeligsoft

_______________________________________________
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
--
Ernesto Posse
Zeligsoft

Back to the top