access other plugins (without dependeny) [message #466573] |
Sat, 21 April 2007 09:56 |
Eclipse User |
|
|
|
Originally posted by: aliban.gmx.net
Hello,
in my eclipse RCP how can i access the API/packages of another plugin
that is not a dependency of myPlugin?
I am asking this because... I am writing a scripting engine plugin. The
script writer should have the possibility to access packages/instances
of other plugins. The scripting engine plugin development does not have
a list of all possible "other" plugins that might be from a third party.
Any idea?
|
|
|
|
Re: access other plugins (without dependeny) [message #466577 is a reply to message #466575] |
Sat, 21 April 2007 16:12 |
Eclipse User |
|
|
|
Originally posted by: aliban.gmx.net
Thank you very much for the hints,
As I am quite new to eclipse RCP,
could you specify your suggestions a little bit:
What test suite do you mean?
And the Dynamic-ImportPackage suggestion sounds cool, too. How can I do
this? Where do I find the getClass() function?
Alex Blewitt schrieb:
> You might like to try looking at the test suite, which does similar things.
>
> You could also use OSGi tricks like Dynamic-ImportPackage: * which would then automatically bind you to an exported package on the system that you access via getClass. But this is only going to work when you just rely on the exported packages, and may be brittle in the face of updates or problems where multiple packages are exported by the same class.
>
> Alex.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03922 seconds