Using Browser Component

Guys,

For some reasons it has slipped EAP release notes:

As of latest EAP build it is possble to use embedded mozilla browser
with all the download/upgrade functionality in your own plugins. To get
started take a look at the plugin, which provides the functionality:

http://svn.jetbrains.org/idea/Trunk/htmlbrowser/

The starting point is:

http://svn.jetbrains.org/idea/Trunk/htmlbrowser/source/org/jetbrains/idea/browser/BrowserComponentService.java

(obtain it through PicoContainer).

3 comments

Hi,
I found the browser component (the links in your post are now dead. The one that worked for me is

http://svn.jetbrains.org/idea/Trunk/bundled/htmlbrowser/

But I don't see any mention of the browser component in the latest download of the OpenAPI doc or find in when searching the the OpenAPI itself either.

Is it something plugin-developers can access/ use now ?

0

Hey folks,

Does this mean that I could create a splitPane in my editor and have a mozilla browser embedded in one side of the pane or does it
kick off the browser externally to the ide?

Thanks,
Mark.

0

Hello Mark,

Does this mean that I could create a splitPane in my
editor and have a mozilla browser embedded in one side of the pane or
does it kick off the browser externally to the ide?


The browser can be embedded in any IDE component, but I don't think you will
be able to add a split pane to the IDEA editor window and have it work reliably.
As you can see, our own preview component is added as a tab in addition to
the main editor component.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.