[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Extensions in Fragments
- From: "Neil Bartlett" <neil@xxxxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 15:04:03 +0100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=GFJ36jk4dN/JFfV1e5SFNV9IBeV3S/DlOfCqarimwDcMvsQKK6iqZ4F+XYPqrcZOHpiHHEe7RSelWTlzw0UPCYKCrLNWkuX4Z4TU05xMa/v/E4fZ5c4D924yXGvQCfa7tU0xF5KpGg2BelhrmPxZAlThICoQBf/MZCFyGqRlGSM=
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.
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
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