[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mdt-papyrus.dev] Element types configuration: apply stereotype advice
|
Hi,
May be there is something wrong in your setup.
Here is how it looks like in Neon (it is similar in Oxygen):

“Apply Stereotype Advice Configuration” define the “target” (i.e. the elementtype that this advice contributes to) they
are bound to. Not the way around.
You’ll find an example (for Neon) attached.
“Externally Registered Advice” is just a way to have a model equivalent to some advice that is already registered with
other means (most probably using GMF extension points).
Best regards.
/Florian
De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx]
De la part de Ernesto Posse
Envoyé : mercredi 16 août 2017 16:29
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : 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.
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?
_______________________________________________
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
|
Attachment:
test.elementtypesconfigurations
Description: test.elementtypesconfigurations