Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
MDT/Papyrus/UserGuide/CSS/StereotypeDisplay
< MDT | Papyrus | UserGuide/CSS
Revision as of 05:23, 13 March 2015 by Celine.Janssens.all4tec.net (Talk | contribs) (→Default CSS)
Stereotype Display by CSS (DRAFT : Work in Progress for Mars)
Default CSS
The following CSS rules are implemented by default for all the Diagrams:
Shape[type=StereotypeComment]{ visible:false; } Shape[type=StereotypeComment] Compartment[type=StereotypeBrace]{ visible:false; } Compartment[type=StereotypeCompartment]{ visible:false; } Compartment[type=StereotypeBrace]{ visible:false; } Label[type=StereotypeLabel]{ depth:"none"; }
CSS Exemple
Here is some exemple of CSS to display the Stereotype:
Label[type=StereotypeLabel]{ depth:-1; } Compartment[type=StereotypeCompartment]{ visible:true; }