Author Topic: External Interface to EA using custom URL's  (Read 5007 times)

Coen

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
External Interface to EA using custom URL's
« on: September 05, 2008, 01:05:39 am »
I'm thinking of creating a custom URL to EA-elements and create a small application using the EA Automation Interface that can interpret the URL, start EA (if not started yet) and open the requested diagram in the URL.

I picked up this idea from DOORS. Since DOORS 8.? you can copy an URL from a requirement in DOORS and paste it in any application.
An example of a DOORS requirement URL is:
doors://MyServer:<portnumber>/?version=1,prodID=0,dbid=4180f34821e41e1a,container=00002d40,object=128,view=00000001

The EA URL for an element or diagram could be something like: ea://<connection string/?project=..., diagram=..., element=....

In the registry you can add the custom URL 'ea' and point it to for instance "c:\MyEaInterface.exe"

MyEaInterface.exe will then start EA (if not started yet) and open the diagram.

In EA I need to create something so you can easily compose and copy the URL of the current element or diagram to the clipboard. Is it possible to add an item 'Copy URL' under the right mouse-click?

The advantage of this solution is that you can add URL's to EA-elements in any application, for instance DOORS and MS/Word.

I'm not really a software engineer so any help on how to accomplish this would be greatly appreciated.

Thnx,

Coen.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: External Interface to EA using custom URL's
« Reply #1 on: September 05, 2008, 08:26:05 am »
Have you tried the save as shortcut functionality?

Coen

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: External Interface to EA using custom URL's
« Reply #2 on: September 05, 2008, 11:00:21 pm »
Thnx Simon for your reply.
I wasn't aware of this Save as Shortcut option and it sure can be handy sometimes. However it doesn't fulfill all my requirements, so I've asked my software engineer colleagues to look into my request, unless off course Sparx thinks it's a good idea and consider this a new feature  ;)

The products that we will create are:
- an executable to interpret the URL and handle the interface with EA
- an installation script to install the executable and create the custom URL reference in the registry
- an Add Inn for EA to construct the URL of a selected element/diagram and copy it to the clipboard

Is there a possiblity to add the 'Copy URL' AddInn under the context menu (right mouse click?).

Regards,

Coen.

Eric Johannsen

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-0
  • Model Driven Business[ch0174]
    • View Profile
Re: External Interface to EA using custom URL's
« Reply #3 on: September 08, 2008, 01:21:27 am »
Canonic is about to release the beta of an ea:// protocol.

See http://canoniccorp.com/products-labs.aspx


Coen

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: External Interface to EA using custom URL's
« Reply #4 on: September 08, 2008, 05:31:58 am »
Eric,

That's good news. If you have a good and reasonably priced solution, than I'm interested off course. Any idea when the beta gets released and when the final product is planned?

I've also send a mail to the info@canoniccorp to stay informed.

Regards,
Coen.


Eric Johannsen

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-0
  • Model Driven Business[ch0174]
    • View Profile
Re: External Interface to EA using custom URL's
« Reply #5 on: September 08, 2008, 06:36:39 am »
Hi Coen,

Sorry forgot to mention... the protocol handler will be free.

There's a link on the Canonic Labs page you can use to request the beta version when it's available.

Coen

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: External Interface to EA using custom URL's
« Reply #6 on: September 08, 2008, 07:31:15 am »
Hi Eric,

That's good news!
I'll send a request for the beta.


Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • ArenĀ“t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: External Interface to EA using custom URL's
« Reply #7 on: September 09, 2008, 09:37:16 pm »
Quote
Hi Coen,

Sorry forgot to mention... the protocol handler will be free.

There's a link on the Canonic Labs page you can use to request the beta version when it's available.

Done ;)

This is terrific. Any time frame you could give us as a teaser?

Oliver

Eric Johannsen

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-0
  • Model Driven Business[ch0174]
    • View Profile
Re: External Interface to EA using custom URL's
« Reply #8 on: September 10, 2008, 01:36:08 am »
The beta should be released by the end of the month if not sooner.