Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Steve Wartik on January 14, 2014, 02:40:16 am
-
I'm developing an MDG technology that includes some custom icons for toolbox items. Enterprise Architect displays some of my icons but not others. I have examined the XML file and verified that it contains the icons. The only things I can see right now are:
- Enterprise Architect uses the default icon (not my custom icon) for all stereotypes that extend metaclass Package.
- One of my stereotypes that extends Generalization has the custom icon. Another doesn't.
Any thoughts on this? Thanks.
-
I faintly remember that there is some limitation on the image format. But I don't remember which.
q.
-
qwerty is correct.
I had some issues with icons sometime ago - can't remember all the issues but I know that my current icons are 16x16x8depth BMP files, and that seems to work fine for the <<toolbox>>
Note sure if this is your problem but may help eliminate one potential issue.
BTW: my icons for the <<profile>> i.e. for the project browser are png version!
Hope that helps.
-
MrWappy,
Good idea, but unfortunately that isn't the problem. I tried both 8-bit and 4-bit depth. Still not working. Can anybody else help?
-
Are you extending the ToolboxItemImage metaclass within a toolbox profile, or just setting the icon attribute? If the latter, try the former: Assign Icons To Toolbox Items (http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/icons_for_toolbox_items.html).
-
I'm extending ToolboxItemImage. For the record, all my stereotypes extend the same instance of ToolboxItemImage. The XML file containing the saved profile contains all the icon bitmaps. Yet some display and others don't.