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

Difference between revisions of "MDT/Papyrus/UserGuide/CSS/StereotypeDisplay"

(Created page with "= Stereotype Display by CSS (DRAFT : Work in Progress for Mars)= == CSS Exemple== Here is some exemple of CSS to display the Stereotype: <nowiki>Label[type=StereotypeLabel][s...")
 
(CSS Exemple)
Line 3: Line 3:
 
Here is some exemple of CSS to display the Stereotype:
 
Here is some exemple of CSS to display the Stereotype:
  
<nowiki>Label[type=StereotypeLabel][stereotype="SysML::Blocks::Block"]{
+
<source lang="css">Label[type=StereotypeLabel][stereotype="SysML::Blocks::Block"]{
 
visible:false;
 
visible:false;
 
}
 
}
Line 29: Line 29:
 
inCompartment: true;
 
inCompartment: true;
 
inBrace: false;
 
inBrace: false;
}</nowiki>
+
}</source>

Revision as of 08:57, 26 February 2015

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