Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MDT/Papyrus/UserGuide/CSS/StereotypeDisplay

< MDT‎ | Papyrus‎ | UserGuide/CSS
Revision as of 08:57, 26 February 2015 by Celine.Janssens.all4tec.net (Talk | contribs) (CSS Exemple)

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;
}

Back to the top