Skip to main content
summaryrefslogtreecommitdiffstats
blob: fe0cb1f18a73b2b032b6c7137cf701bc0fc423e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
* {
	showTitle: false;
}

/* Check showTitle, to avoid priority conflicts with more specific rules */
.showTitleForAllCompartments Compartment {
	showTitle: true;
}

Interface > Compartment[kind=attributes],
Interface > Compartment[kind=nestedclassifiers] {
	visible:false;
}

Interface[ownedAttribute] > Compartment[kind=attributes]{
	visible:true;
}

Compartment[kind=nestedclassifiers] {
	visible: false;
}


/* Collapse the Attribute compartment if the Class contains a P1 attribute (Displayed) */
Class[ownedAttribute~="P1"] > Compartment[kind=attributes]{
	collapsed: true;
}

Enumeration > Compartment {
	collapsed: true;
}

Enumeration > Compartment[kind=LiteRalS]{ /* Case insensitive */
	collapsed: false;
}

Compartment {
	showTitle: true;
}

Back to the top