Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Steve Wartik on January 14, 2014, 02:40:16 am

Title: (Some) toolbox icons not displaying
Post 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:
Any thoughts on this? Thanks.
Title: Re: (Some) toolbox icons not displaying
Post by: qwerty on January 14, 2014, 05:44:44 am
I faintly remember that there is some limitation on the image format. But I don't remember which.

q.
Title: Re: (Some) toolbox icons not displaying
Post by: EXploringEA on January 14, 2014, 08:47:49 am
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.
Title: Re: (Some) toolbox icons not displaying
Post by: Steve Wartik on January 14, 2014, 09:07:25 am
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?
Title: Re: (Some) toolbox icons not displaying
Post by: KP on January 14, 2014, 09:41:24 am
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).
Title: Re: (Some) toolbox icons not displaying
Post by: Steve Wartik on January 15, 2014, 12:27:25 am
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.