Embed Eclipse editor into Java Swing application? [message #332036] |
Wed, 01 October 2008 16:48  |
Eclipse User |
|
|
|
Is it possible to embed a text editor into a Java Swing application?
More specific, I want to embed the XML editor of WTP into a Java Swing
application. The integration with the Preferences and with the Problems
View is not required, I only need the XML editor with code completion
functionality as "standalone" component to use it in a Swing-based
application.
|
|
|
|
Re: Embed Eclipse editor into Java Swing application? [message #332097 is a reply to message #332050] |
Thu, 02 October 2008 19:21  |
Eclipse User |
|
|
|
Paul Webster wrote:
> Others can add their 2 cents, but the short answer is no. Most eclipse
> editors depend on a lot of services running, including the workbench.
Yeah, I don't see a way to embed it. I think it may be possible to set
up a minimal RCP application with the editor included. Since
https://bugs.eclipse.org/bugs/show_bug.cgi?id=176492 the XML editor is
now a separate feature.
But it would take a lot of work to hide the rest of the platform you
don't care about. And you would still have to launch a new window from
your Swing app.
Anyone tried something like this before?
|
|
|
Powered by
FUDForum. Page generated in 0.04103 seconds