Skip to main content

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.

Jump to: navigation, search

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

(Stereotype Display by CSS (DRAFT : Work in Progress for Mars))
(Default CSS)
Line 1: Line 1:
 
= Stereotype Display by CSS (DRAFT : Work in Progress for Mars)=
 
= Stereotype Display by CSS (DRAFT : Work in Progress for Mars)=
 
== Default CSS ==
 
== Default CSS ==
The following CSss rules are implemented by default for all the Diagrams:
+
The following CSS rules are implemented by default for all the Diagrams:
  
 
<source lang="css">
 
<source lang="css">
Line 25: Line 25:
  
 
</source>
 
</source>
 
  
 
== CSS Exemple==
 
== CSS Exemple==

Revision as of 05:23, 13 March 2015

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

Back to the top