Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: 7Alpha7 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.
-
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.
-
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?
-
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. ;)
-
...
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