Bug 154099 - Customization
Summary: Customization
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P4 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 13:35 EDT by John Arthorne CLA
Modified: 2009-05-06 13:28 EDT (History)
30 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2006-08-16 13:35:45 EDT
Eclipse lacks customization capabilities aimed at end users and product packagers. More generally, component development and use is fraught with producer/consumer problems. Component producers implement solutions that address a number of use-cases and scenarios but inevitably consumers come up with additional, sometimes quite divergent requirements. We will investigate mechanisms and facilities that allow component consumers to "override" or replace metadata specifications in the components they are consuming.  Such mechanisms would, for example, allow consumers to configure menus, tool bars, and perspectives of their Eclipse installation as well as refine plug-in dependency declarations. [Runtime, UI]
Comment 2 Kim Horne CLA 2006-11-14 15:59:41 EST
I've started fleshing out a sketch of a generalized OSGi solution at the above-mentioned wiki page.  Any input is welcome.
Comment 3 Patrick Paulin CLA 2006-12-19 13:01:34 EST
I'm looking at using the new transform mechanism to implement a security framework in an RCP application. So far things are working fine with the initial work you've done. 

The only thing I was surprised by (and I'm not an OSGi expert), is that I need to clear my configuration cache to get this to work. Otherwise, the plugin descriptors are not passed through the XSL transform. I'm wondering if this is just a fact of life because of the way OSGi loads resources, or if this something that could be fixed by future implementations of the transform mechanism?

Thanks for your help.
Comment 4 Kim Horne CLA 2006-12-19 13:30:44 EST
If you're talking about plugin.xml transforms then yes, -clean is needed at the moment -  the extension registry caches the result of parsing these files and as yet changes via transformation are not picked up.  This may change once/if I get the caching story in the transformers fixed or it may need to be raised against equinox registry.  I'm not sure yet.
Comment 5 Andreas Goetz CLA 2007-07-11 15:07:03 EDT
I'd appreciate a couple of examples for using the transforms. Right now I only understand they exist...
I'm building an RCP application that uses projects etc and therefore carries a lot of IDE baggage. It would be nice to show how working sets and other contributions could be disabled. Thanks!
Comment 6 Paul Webster CLA 2007-07-12 06:48:57 EDT
(In reply to comment #5)
> I'd appreciate a couple of examples for using the transforms. Right now I only
> understand they exist...

The above mentioned wiki contains examples of using XSLT transforms (although not specifically working sets).  The link at the bottom, http://wiki.eclipse.org/Equinox_Transforms has instructions on running some equinox examples, including running the XSLT transforms.

PW
Comment 7 Andreas Goetz CLA 2007-07-23 03:28:41 EDT
Thanks for the hint Paul. Do you think the wiki or this bug could be enhanced with a description how to include this in an RCP app? Have not been able sofar adding the right plugins, e.g. equinox.transform is not available as plugin dependency?
Sorry- not an OSGI wizard :(

Thanks,
Andreas
Comment 8 John Arthorne CLA 2009-05-06 13:28:48 EDT
This plan item was deferred, and no further work is planned in the runtime area for this item. The Equinox transforms can be used to customize applications at the runtime and extension registry level. Bug 252650 is exploring model-based customization of the Eclipse UI, which captures many of the scenarios from this original plan item.