Book a Demo

Author Topic: Launch internal web browser from API  (Read 4839 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Launch internal web browser from API
« on: January 22, 2013, 09:11:10 pm »
Hi!


I'm working on an Add-In for a client, which on double-click on an element launches an external web browser with the URL taken from the element's "file" list (obviating the need to open the properties dialog, selecting the Files tab and launching the browser from there).

My question is this: is it possible to launch EA's internal web browser instead?
I can't find a function for this in the (9.3) API.


Cheers,

/Uffe
My theories are always correct, just apply them to the right reality.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Launch internal web browser from API
« Reply #1 on: January 23, 2013, 06:24:01 pm »
I don't think I've ever seen something like that.

Geert

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: Launch internal web browser from API
« Reply #2 on: January 24, 2013, 08:24:37 pm »
Hi,

i used to create some help-section using a webbrowser within my addin with the following steps:

Create an Addin and add an ITabControl-Element to it.
Select a webbrowser-element into the created ITabControl

and than you may define the option when it should be called or initiated.

The URL for the Web-Browser can be opened with:
webBrowser1.Navigate(url);

It is not the EA-webbrowser but it is the visual studio c# toolbox-element.

If the ITabControl is started as type diagram, it perfectly fits into the EA-Diagram-window  ;)

What i like most on this webbrowser: It resolves all JAVA and script related items from the EA-HTML-Report(Which doesn't work on all webbrowsers very well) ;) ;D
And you can configure it -> With navigation bar, without it .......

I  hope this may help you.  

Best regards

Stefan


Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website