Author Topic: Custom view, tool bar and menus  (Read 847 times)

7Alpha7

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Custom view, tool bar and menus
« on: February 12, 2008, 03:17:40 pm »
Hi,

I have read quickly the documentation of the automation interface. I have not seen the ability to implement a custom dockable view in EA. Is it right ? If it is, will it be possible some time ? I've not seen either the ability to add a custom toolbar and menus elsewhere but in "Add-ins" menu. I think it makes the Add-Ins poor in an ergonomic point of view : I don't like very much to drive the whole add-in user interface through the center of the screen as it is needed in a single custom tab.


Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 868
  • Karma: +11/-0
    • View Profile
Re: Custom view, tool bar and menus
« Reply #1 on: February 12, 2008, 04:03:06 pm »
Unfortunately it is not possible to create a custom dockable window or toolbar for an Add-In at this time, however you can create a custom ActiveX control within a new tab (sharing with the diagram pane).  This is done via the Repository.AddTab() method.  For more information, see:
http://www.sparxsystems.com.au/EAUserGuide/customviews.htm

Edit: Sorry, I just noticed from the end of your last post that you already seem to be aware of this.  Regardless, this is the only way to embed a custom interface within the EA window at this time.
« Last Edit: February 12, 2008, 04:04:55 pm by AaronB »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Custom view, tool bar and menus
« Reply #2 on: February 12, 2008, 05:17:13 pm »
Hi Aaron,

Any idea when this might become possible?

[And yes, I accept that "no idea" might be the answer at this time.]

David

PS: In the meantime, is there any easy way to have an add-in click an EA menu item through automation?
« Last Edit: February 12, 2008, 05:18:33 pm by Midnight »
No, you can't have it!

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 868
  • Karma: +11/-0
    • View Profile
Re: Custom view, tool bar and menus
« Reply #3 on: February 12, 2008, 10:14:23 pm »
No idea.  I'm not aware of any development on this at the present time.

I'm not aware of any way to stimulate commands from the EA menus at this time either.  Maybe through some SendKeys commands if you were desperate, but I probably wouldn't recommend it. ;)

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Custom view, tool bar and menus
« Reply #4 on: February 13, 2008, 03:53:13 am »
Quote
...
I'm not aware of any way to stimulate commands from the EA menus at this time either.  Maybe through some SendKeys commands if you were desperate, but I probably wouldn't recommend it. ;)

Yes, I'm with you on that one. Therein lies madness, or some unacceptable substitute. Pumping commands into software like that gives you the power to do anything. Of course, that's the problem. The software might do anything in response to your command.

And sooner or later you end up having to sweep up all those bits and bytes off the floor...

David
No, you can't have it!