[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Contributing dynamically to the extension registry

Hi Folks,

I am writing with regards to the org.eclipse.core.internal.registry.ExtensionRegistry.getTemporaryUserToken() internal API.



Under the hat of Eclipse E4 project we are incubating a component called Search Console. Its main goals are to provide a search framework with nice user experience and high degree of extensibility.

(very rough info here:  http://wiki.eclipse.org/E4/Search_Console )


The end goal is for this framework to substitute the existing eclipse search in the eclipse SDK. In order for this to happen, it is vital that existing search extensions get supported without modification on their side.

(The work on this is tracked here https://bugs.eclipse.org/bugs/show_bug.cgi?id=331581)


An approach that we have taken up in order to help achieve this is to read the existing search providers from the registry, generate extensions that the Search Console framework expects, and contribute them back to the registry.

However this requires a user token, so we rely on the abovementioned internal API to obtain it.


*Please do not use this method without consulting with the Equinox team. *


Therefore we wanted to

-          Report our using this internal API

-          Express our interest in the enhancement https://bugs.eclipse.org/bugs/show_bug.cgi?id=174967

-          Ask whether there is another existing, or planned, way to use the dynamic contribution functionality in an API-clean way.


Thanks for your time!

Regards, Dimitar