optional plugin dependencies? [message #152374] |
Mon, 03 November 2003 09:03  |
Eclipse User |
|
|
|
As far as I understand plugins only have access to classes that are on
the classpath created from the <runtime> and <requires> parts in the
plugin manifest (plugin.xml) and to the classes of the JRE of course. If
there is a plugin missing, that I have specified to be depending on, my
plugin is disabled.
Now I have a plugin that _optionally_ depends on another plugin. I.e:
When the other plugin is available, my plugin supports the complete set
of features by also using classes from the other plugin. When the other
plugin is not available, some buttons will be disabled, but the plugin
will still work.
Detecting the availability of the other plugins classes at runtime is no
problem, but is there a way to specify this optional depedency in the
plugin.xml?
Thanks,
Markus
--
http://www.jdemo.de - Demonstrating for better code
|
|
|
|
|
Powered by
FUDForum. Page generated in 8.02236 seconds