1
Automation Interface, Add-Ins and Tools / Toolbox icon based on attribute value
« on: February 15, 2023, 10:46:48 pm »
Dear All,
I would like to ask whether it is possible to introduce under the same toolbox, the same stereotype element several times, but with a different icon, where the icon changes based on a value of the stereotype attribute of type enum.
For instance:
1. stereotype "HwElement" which has an attribute "hwKind" of type enum which has following literals ("SENSOR", "ACTUATOR", "CPU", etc.)
2. The toolbox shall now provide these different options, each with a different icon.
3. I would like to avoid creating stereotype for each of this HwElement kinds, but instead rely on the enum.
Thank you!
I would like to ask whether it is possible to introduce under the same toolbox, the same stereotype element several times, but with a different icon, where the icon changes based on a value of the stereotype attribute of type enum.
For instance:
1. stereotype "HwElement" which has an attribute "hwKind" of type enum which has following literals ("SENSOR", "ACTUATOR", "CPU", etc.)
2. The toolbox shall now provide these different options, each with a different icon.
3. I would like to avoid creating stereotype for each of this HwElement kinds, but instead rely on the enum.
Thank you!