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
请先登录再写评论。
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...
via
>
>
>
>
>
>
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:
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...
>
>
via
tool
but
instead.
when
getting
components/dlls.
>
Alexey Efimov wrote:
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
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...
into
>
>