|
Re: Control stereotype compartments using CSS [message #1839583 is a reply to message #1839547] |
Wed, 24 March 2021 07:49 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Patrik,
The main selector property for Compartments (And other "pure notation" elements) is "type", which corresponds to the type attribute in the Notation model (XMI). "Kind" has been added to provide a more human-readable value (and to be used in CSS), mostly because at this time, Notation Type attributes were integers. Anyhow; the "kind" attribute only exists if it has been specified with the appropriate extension point, so it won't know anything about your Stereotypes.
You can either populate this extension point for your Stereotypes: org.eclipse.papyrus.infra.gmfdiag.common.notationTypesMapping, or you can use the raw "type" attribute instead (Which may use a different value than the Stereotype name).
HTH,
Camille
Camille Letavernier
[Updated on: Wed, 24 March 2021 07:49] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02701 seconds