Display Browser

Hello,
is there anyway to access the Browser like the documentation?
I want to implement a plugin that cann access the browser and display its contents as an emeded Tab .
Any possible solutions for my thoughts?

Kind regards
syt

0
8 comments
Avatar
Permanently deleted user

I'm afraid I don't quite understand what do you want to achieve but IJ documentation UI is represented by DocumentationComponent class (uses JEditorPane for actual rendering).

Denis

0

I need a fully working browser, jeditorpane isnt able to render html and css properly. Besides it isnt able to run javascript.
In earlier version JXBrowser was implemented, but this is out of discussion since it is commercial.
The Browser should be embeded as a tab .just like one tab that displays the normal sourcecode.

0
Avatar
Permanently deleted user

AFAIK we don't have such a component at IJ.

Denis

0

http://im.bilderkiste.org/1136195799615/Bildschirmfoto2.png

I've did it with swt. If someone wants to know more feel free to ask :).

0
Avatar
Permanently deleted user

Hello, I need to do the same plugin. Can you please explain what did you do there?
Thank you!

0

Hi, as i mentioned before, i used swt to display the browser in the ToolWindow.
It is quite tricky to explain it this way, the best way should be if you read my source.
I tested it on ubuntu x64_86 and x86 with webkit.
You need to download swt from http://www.eclipse.org/swt/ and set the jar as dependencie to your project.



Attachment(s):
src.zip
0

Hi syt, thanks very much, I will definitely take a look at the code - this would be really useful for me too.

0
Avatar
Permanently deleted user

Looks good to me!

I wonder if this would be a clever way to get access to JavaScript Canvas diagrams with d3.js etc?
As I believe the current Java diagrams are closed source within IntelliJ?

0

Please sign in to leave a comment.