Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: domi55 on April 26, 2012, 04:33:35 am
-
Is it somehow possible to use icons and menu separators like in the following example within my add-in?
(http://dl.dropbox.com/u/11717748/ea_menu.png)
-
Hi,
I'm afraid that's not possible. AFAIK you can only manipulate your own menu entries using the EA_GetMenuItems() and EA_GetMenuState() callback methods. These don't support icon output parameters at all.
You might try to provide a separator returning an empty string with the EA_GetMenuItems() mehod.
HTH
Günther
-
alright! thanks g.makulik!
-
You can add separators. IIRC you need to send a '-' as entry. Just see the help.
q.
-
You can add separators. IIRC you need to send a '-' as entry. Just see the help.
q.
great! thanks very much!
-
And I've learned recently that you can also use checkbox thingies as well by setting IsChecked = true in the GetMenuState
Geert