|
Re: Externally using a plugin [message #327889 is a reply to message #327883] |
Wed, 07 May 2008 13:44 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Moshe wrote:
> Hello,
>
> I would like to use the org.eclipse.compare plugin from en external Java
> swing application.
>
> I found this:
> http://dev.eclipse.org/newslists/news.eclipse.platform.swt/m sg39359.html
> which shows how to integrate Eclipse components with Swing.
>
> When I try to create the compare plugin classes there are a lot of inner
> variables that are not initialized and cause NullPointerException.
>
> How can I work with this plugin externally?
This is not a realistic goal. Most Eclipse plugins are not designed or
implemented as simple reusable components. For example,
org.eclipse.compare depends on all of these other plugins:
org.eclipse.ui
org.eclipse.core.resources
org.eclipse.jface.text
org.eclipse.ui.ide
org.eclipse.ui.views
org.eclipse.ui.workbench.texteditor
org.eclipse.core.runtime
org.eclipse.core.expressions
org.eclipse.ui.editors
org.eclipse.ui.forms
So for it to work all of those plugins' code has to be available along
with whatever each of them depends on.
Eclipse plugins are NOT generic stand-alone components to be reused;
they only work in the context of the Eclipse platform.
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.02592 seconds