Book a Demo

Author Topic: Navigate to diagram from external application.  (Read 4314 times)

OldProgrammer

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Navigate to diagram from external application.
« on: March 02, 2015, 11:38:24 am »
Is there any way to navigate to an EA diagram from an external program.

e.g.
 To navigate to a VS file you can use - devenv.exe" /Edit filename
 File on the system - file:///....
 TheBrain - brain://5F05D755-7B09-26F4-808C-28BDEAE2E702...

Thanks,

smendonc

  • EA User
  • **
  • Posts: 148
  • Karma: +5/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Navigate to diagram from external application.
« Reply #1 on: March 02, 2015, 02:20:17 pm »
Search for 'project shortcut' in the EA help.  The link to the online user guide is below.  I think these will get what you are looking for.

http://www.sparxsystems.com/enterprise_architect_user_guide/11/projects_and_teams/shortcuts_to__eap_files.html

Stan.

OldProgrammer

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Navigate to diagram from external application.
« Reply #2 on: March 02, 2015, 02:52:38 pm »
Thank you Stan. The approach works well but for one issue. An EA instance is spun up each time a link is activated. Pity EA can't under the hood figure out that an instance with the file is already running and just attach to the running instance.

Is there maybe a command that can be added to the EAP shortcut to allow for the above?

Thanks you,

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Navigate to diagram from external application.
« Reply #3 on: March 02, 2015, 06:00:34 pm »
I once developed a little add-in that takes a GUID (you can copy that from the context menu in the browser) of any element of diagram, finds it in the model and brings it to front. That's fairly easy.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Navigate to diagram from external application.
« Reply #4 on: March 02, 2015, 06:43:14 pm »
There is somewhere out there an EA protocol handler that does exactly this.
It's an open source project, but abandoned for a couple of years now.

As an alternative you can install the EA navigator
That add-in also supports navigating to a guid as mentioned by qwerty, or to the fully qualified name of a diagram.

Geert

OldProgrammer

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Navigate to diagram from external application.
« Reply #5 on: March 03, 2015, 09:10:29 am »
Geert, a combination of your navigator and an AHK script did what was needed so thanks for that.

Still hard to believe that there's no native EA feature to allow external navigation.

Thanks guys,

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Navigate to diagram from external application.
« Reply #6 on: March 03, 2015, 09:40:39 am »
Not that you're the first one asking for that. It's only a couple of years in the pipeline. But the pipeline from Australia to the rest of the world is routed through Mariana Trench.

q.

OldProgrammer

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Navigate to diagram from external application.
« Reply #7 on: March 03, 2015, 10:42:30 am »
Quote
Not that you're the first one asking for that. It's only a couple of years in the pipeline. But the pipeline from Australia to the rest of the world is routed through Mariana Trench.

q.

Probably got lost in there. :( Might have to make another feature request hoping for it to see the light of day... some day...
« Last Edit: March 03, 2015, 10:42:49 am by OldProgrammer »