Author Topic: (Some) toolbox icons not displaying  (Read 5278 times)

Steve Wartik

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
  • Why aren't I outside?
    • View Profile
(Some) toolbox icons not displaying
« 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.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: (Some) toolbox icons not displaying
« Reply #1 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.
« Last Edit: January 14, 2014, 05:45:00 am by qwerty »

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: (Some) toolbox icons not displaying
« Reply #2 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.
EXploringEA - information, utilities and addins

Steve Wartik

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
  • Why aren't I outside?
    • View Profile
Re: (Some) toolbox icons not displaying
« Reply #3 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?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: (Some) toolbox icons not displaying
« Reply #4 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.
The Sparx Team
[email protected]

Steve Wartik

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
  • Why aren't I outside?
    • View Profile
Re: (Some) toolbox icons not displaying
« Reply #5 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.