Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Externally using a plugin
Externally using a plugin [message #327883] Wed, 07 May 2008 11:31 Go to next message
Moshe Elisha is currently offline Moshe ElishaFriend
Messages: 1
Registered: July 2009
Junior Member
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?

Thank you,
Moshe.
Re: Externally using a plugin [message #327889 is a reply to message #327883] Wed, 07 May 2008 13:44 Go to previous message
Eclipse UserFriend
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
Previous Topic:On pressing enter in a text box the cursor goes to the first position
Next Topic:bin directory stays empty
Goto Forum:
  


Current Time: Thu Jun 27 19:24:19 GMT 2024

Powered by FUDForum. Page generated in 0.02542 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top