|
|
|
|
Re: Compute Dependencies for Feature [message #499181 is a reply to message #499028] |
Fri, 20 November 2009 10:21 |
|
Hi Alex,
> Do you mean that all plug-ins necessarily have to be singletons or only
> those that are shipped in the Eclipse platform happen to be singletons?
if they have a plugin.xml then they have to be. You get an error if you use
or supply extension points in the plugin.xml but the singleton directive is
not set.
>
> Would it make any sense to have two different versions of the same
> plug-in (contributing similar extensions) deployed in the same
> application?
No it wouldn't. This approach makes sense if you think about the user
interface. Eclipse builds the UI by looking at the plugin.xml before the
actual code starts. In the xml e.g. there is a menu contribution "Exit" to
the main menu. If Eclipse would allow two versions of the same bundle it
would get two "Exit" menu entries.
--
Best Regards,
Wim Jongman
http://www.remainsoftware.com
http://www.industrial-tsi.com
|
|
|
Powered by
FUDForum. Page generated in 0.03070 seconds