[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] Extensions in Fragments
|
Brian,
That sounds like it's working as intended.
Generally at runtime you can consider a fragment not to be a separate
entity, but completely merged into its host bundle (ie A). Therefore
the contributor of the extension is always the host bundle, and the
host bundle must be singleton. The fragment cannot change the
singleton status of its host, for obvious reasons.
Regards,
Neil
On 6/26/06, Brian Lillie <brianlil@xxxxxxxxxx> wrote:
I have a plugin P that defines an extension point. Plugin A does not add any
extensions, and the Bundle-SymbolicName does not include the singleton
attribute. Fragment FA is added to the platform. Fragment FA contributes an
extension to the point defined in P. Fragment FA contains a
Bundle-SymbolicName with the singleton attribute.
What is the expected/intended behavior in Eclipse 3.2?
When running this on RC7, the extension contributed by FA is not visible in
the registry. It only becomes visible if the singleton attribute is added to
A, and when that happens the contributor of the extension is shown to be A.
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
--
Neil Bartlett
Senior Technical Consultant, Integility Ltd
Tel: +44 (0) 20 7043 8328
Fax: +44 (0) 20 7043 8329
LinkedIn Profile: https://www.linkedin.com/in/neilbartlett