|
|
|
Re: Stereotypes and CSS: can select StereotypeComment on the basis of related stereotype [message #1777297 is a reply to message #1777294] |
Tue, 28 November 2017 09:06 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Davide,
In the Stereotype Comment, each applied stereotype is mapped to one compartment. You can select the visible compartments for each stereotype, e.g.:
StereotypeComment Compartment[stereotype=Foo]{
visible: true;
}
StereotypeComment Compartment[stereotype=Bar]{
visible: false;
}
Then, you just have to specify that the StereotypeComment is visible as well:
StereotypeComment {
visible: true;
}
The expected result is that StereotypeComment will be displayed, unless it is empty (Empty stereotype comments should never be visible). So if Foo is applied, the corresponding compartment will be visible. However, there is a bug, which means the stereotype comment will always be visible, even when empty.
HTH,
Camille
Camille Letavernier
|
|
|
|
Powered by
FUDForum. Page generated in 0.02923 seconds