Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Takeshi K on July 09, 2008, 02:54:48 pm

Title: Simple free Add-in: open diagram as another window
Post by: Takeshi K on July 09, 2008, 02:54:48 pm
I have created an Add-in which you can open diagram image as a new window.

If you want to refer existing diagrams when you are modeling, you can refer the diagrams by using this Add-in.
(You may need to resize EA window to show all windows.)

If you are interested in this Add-in, download, unzip and run the bat file in the file. Open a diagram and call the Add-in from Add-in menu.

http://community.sparxsystems.com/resources/community/scripts/simple-free-add-open-diagram-another-window
(updated above URL on 9th Dec, 2009)

(You need .NET runtime 2.0 to use this Add-in.)

--
t-kouno

Title: Re: Simple free Add-in: open diagram as another wi
Post by: John Brand on December 09, 2009, 09:52:23 pm
I tried to add the add-in and it tells me I'm not authorised and to open account, which I did although already a registered user? :(
Title: Re: Simple free Add-in: open diagram as another wi
Post by: Wowbagger on December 10, 2009, 04:26:58 am
Is there any way those of us who run EA under Crossover could get the instructions to install this by hand?

The batch file that does the install won't run under Crossover's cmd.exe.
Title: Re: Simple free Add-in: open diagram as another wi
Post by: Takeshi K on December 10, 2009, 02:41:14 pm
You need the following two actions to enable the Add-in.

1. register DLL by using regasm.exe
(I do not know whether CrossOver supports .NET framework. regasm.exe is one of .NET 2.0 commands.)

2. add registry key 'ShowDiagramPrj.ShowDiagram' as the default value of HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins\ShowDiagram.

Title: Re: Simple free Add-in: open diagram as another wi
Post by: Oliver F. on December 10, 2009, 09:45:57 pm
As you are relying on a batch file for installation I can offer that you can take a look at the eaprotocol handler add-in, especially at the NSIS installer file.

http://eaprotocol.sourceforge.net

This dramatically eases installation of add-ins.

Feel free to use it as a basis.

Oliver