Book a Demo

Author Topic: Duplicate menu entries  (Read 3591 times)

Orlando Ribeiro

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Duplicate menu entries
« on: October 29, 2009, 02:07:19 am »
Hello,

I have two perfectly working add-ins for EA. Both of them create their set of menu items with EA_GetMenuItems.

However, there is one problem. Because the main menu entry is the "company name" and so they both create this menu entry, it becomes duplicate in the EA Menu.

I'm trying to organize them like this:

<EA MENU>\<Company Name>\<Add In Name>\<Add In Options>

Is there a way to "reuse" the menu that one of the addins created in the second addin?

Thanks,
Orlando
--

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: Duplicate menu entries
« Reply #1 on: October 29, 2009, 03:17:32 am »
Hi Orlando,

I'm afraid it's not possible, since the menus are setup from each addin separately.
Is it really essential that you have the company name as top level node?

WBR
Günther

Orlando Ribeiro

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Duplicate menu entries
« Reply #2 on: October 30, 2009, 05:23:54 am »
At this time, it's not essential. The addins are for internal use only.

In the future we may need this feature if we consider reselling them.

Is it possible for this feature to be considered in future releases?

Thanks for your time.

Orlando
--

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Duplicate menu entries
« Reply #3 on: October 30, 2009, 06:42:02 am »
Send a feature request to SparxSystems for that. Take care to use the official feature request form (you'll find the link at the very bottom of this page).

Another option could be to 'pack' your addins into one main dll. This would require to develop a kind of plugin manager on your own that appears as a single addin to EA. If you're using C# for development this shouldn't be to hard at all (at least not rocket sience ;)).

WBR
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/