file Change icon programmatically or tagged value

5 years 9 months ago #2823 by jcantoniochamp
Hello,

I see how to set an icon for a given stereotype via the module.xml file.
How can I set an icon for a given value of a tagged value.
Or how can we change icon via the API?

Kind regards,

JClaude

Please Log in or Create an account to join the conversation.

5 years 9 months ago #2825 by ebr
Hi JClaude

In fact, if I well understand your need, I would use 'decorative ' stereotypes.
For each icon you have to create a stereotype and according to a specific value (or a set of value, tagged value, attribut, etc.), I would add/remove these decorative stereotype in order to change the graphical representation.

Regards,

EBR

Please Log in or Create an account to join the conversation.

5 years 9 months ago #2827 by jcantoniochamp
Hello EBR,

Thank you, that would do the job.
Where can I find the syntax of 'decorative ' stereotypes or are they just stereotypes like others?

Kind regards,

JClaude

Please Log in or Create an account to join the conversation.

5 years 9 months ago #2828 by ebr
they are stereotype with icons and without any attribut mainly because we focus on their graphical representation
The following user(s) said Thank You: jcantoniochamp

Please Log in or Create an account to join the conversation.

5 years 9 months ago #2829 by jcantoniochamp
Thanks for your help.

Please Log in or Create an account to join the conversation.

Moderators: tmachmaab
Time to create page: 0.039 seconds
^ Back to Top