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
Stereotype Display by CSS (DRAFT : Work in Progress for Mars)
CSS Exemple
Here is some exemple of CSS to display the Stereotype:
Label[type=StereotypeLabel][stereotype="SysML::Blocks::Block"]{ visible:false; } Label[type=StereotypeLabel]{ depth:"-1"; } *[type=StereotypeCompartment][stereotype="SysML::Blocks::Block"]{ visible:false; } Label[type=StereotypeProperty][property="allocatedFrom"]{ visible:false; } Label[type=StereotypeProperty]{ inBrace: true; inCompartment: false; } *[type=StereotypeCompartment][stereotype="SysML::Requirements::Requirement"]{ inComment: false; inCommentBrace: true; inCompartment: true; inBrace: false; }