IE embeded in IDEA

I'm trying to write a plugin to include the IE browser in a tool window via
an open source IECanvas.dll components.

This components exposes the IE browser as a java.awt.Canvas object.
It works fine in a popup window, but not a toolwindow. I suspect the
problem may be the mixing of heavyweight components in a lightweight
container, but it could be that I just don't know something about the tool
window API. I've trying defering the registration of the tool window, but
nothing seems to help. This would be a helpful way to preview HTML
pages/JSPs.
Another option I guess would be to use the new Editor window api instead.

Anyone have any thoughts? I basically get a windows access exception when
the component is first exposed, so I suspect maybe something's not getting
back to
the backend dll, but I don't know anything about windows components/dlls.

--
Duane Fields
Deep Magic Software and Consulting
http://www.deepmagic.com



5 comments
Comment actions Permalink

Maybe better using jniwrapper of IDEA itself? ;)
But i not sure that it is allowed for plugins...

--
Alexey Efimov, Software Engineer
Sputnik Labs,
http://www.spklabs.com
"Duane Fields" <duane@deepmagic.com> wrote in message
news:bkf4jd$g2e$1@is.intellij.net...

I'm trying to write a plugin to include the IE browser in a tool window

via

an open source IECanvas.dll components.

>

This components exposes the IE browser as a java.awt.Canvas object.
It works fine in a popup window, but not a toolwindow. I suspect the
problem may be the mixing of heavyweight components in a lightweight
container, but it could be that I just don't know something about the tool
window API. I've trying defering the registration of the tool window, but
nothing seems to help. This would be a helpful way to preview HTML
pages/JSPs.
Another option I guess would be to use the new Editor window api instead.

>

Anyone have any thoughts? I basically get a windows access exception when
the component is first exposed, so I suspect maybe something's not getting
back to
the backend dll, but I don't know anything about windows components/dlls.

>

--
Duane Fields
Deep Magic Software and Consulting
http://www.deepmagic.com

>
>
>


0
Comment actions Permalink

Duane, I believe Eugene Belayev has already done this in his Begregator
app and has posted some comments/code on his blog a while back, you
might want to look there first.

R

Duane Fields wrote:

I'm trying to write a plugin to include the IE browser in a tool window via
an open source IECanvas.dll components.

This components exposes the IE browser as a java.awt.Canvas object.
It works fine in a popup window, but not a toolwindow. I suspect the
problem may be the mixing of heavyweight components in a lightweight
container, but it could be that I just don't know something about the tool
window API. I've trying defering the registration of the tool window, but
nothing seems to help. This would be a helpful way to preview HTML
pages/JSPs.
Another option I guess would be to use the new Editor window api instead.

Anyone have any thoughts? I basically get a windows access exception when
the component is first exposed, so I suspect maybe something's not getting
back to
the backend dll, but I don't know anything about windows components/dlls.

--
Duane Fields
Deep Magic Software and Consulting
http://www.deepmagic.com



0
Comment actions Permalink

Yes, hi has integrate IE into beggregator, also hi want to plugin it into
IDEA, but i'm not sure, that Beggregator will have browser? :)

See
http://www.eugenebelyaev.com/beggregator/2003_07.html

--
Alexey Efimov, Software Engineer
Sputnik Labs,
http://www.spklabs.com
"Robert S. Sfeir" <no_mail@jetbrains.com> wrote in message
news:bkfa0l$q2n$1@is.intellij.net...

Duane, I believe Eugene Belayev has already done this in his Begregator
app and has posted some comments/code on his blog a while back, you
might want to look there first.

>

R

>

Duane Fields wrote:

I'm trying to write a plugin to include the IE browser in a tool window

via

an open source IECanvas.dll components.

>

This components exposes the IE browser as a java.awt.Canvas object.
It works fine in a popup window, but not a toolwindow. I suspect the
problem may be the mixing of heavyweight components in a lightweight
container, but it could be that I just don't know something about the

tool

window API. I've trying defering the registration of the tool window,

but

nothing seems to help. This would be a helpful way to preview HTML
pages/JSPs.
Another option I guess would be to use the new Editor window api

instead.

>

Anyone have any thoughts? I basically get a windows access exception

when

the component is first exposed, so I suspect maybe something's not

getting

back to
the backend dll, but I don't know anything about windows

components/dlls.

>

--
Duane Fields
Deep Magic Software and Consulting
http://www.deepmagic.com

>
>
>

>


0
Comment actions Permalink

Alexey Efimov wrote:

Yes, hi has integrate IE into beggregator, also hi want to plugin it into
IDEA, but i'm not sure, that Beggregator will have browser? :)

See
http://www.eugenebelyaev.com/beggregator/2003_07.html

As i understand it, the Open API is not open enough to do it right now,
so he has to have a special build of idea, which is no good. So while
he wants to do it, he's as restricted as we are.

R

0
Comment actions Permalink

OpenAPI since 915 is good :)
I already create plugin as my Custom Editor :)
Eugene was wait for ability to add custom editors in IDEA, so now it avaible
:)

See ImageEditor for example
Thanks!

--
Alexey Efimov, Software Engineer
Sputnik Labs,
http://www.spklabs.com
"Robert S. Sfeir" <no_mail@jetbrains.com> wrote in message
news:bkfekc$3mt$1@is.intellij.net...

Alexey Efimov wrote:

Yes, hi has integrate IE into beggregator, also hi want to plugin it

into

IDEA, but i'm not sure, that Beggregator will have browser? :)

>

See
http://www.eugenebelyaev.com/beggregator/2003_07.html

>
As i understand it, the Open API is not open enough to do it right now,
so he has to have a special build of idea, which is no good. So while
he wants to do it, he's as restricted as we are.

>

R

>


0

Please sign in to leave a comment.