Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Contributing the extension point programatically(Contributing the extension point programatically)
Contributing the extension point programatically [message #642147] Tue, 30 November 2010 06:12 Go to next message
jagadish suri is currently offline jagadish suriFriend
Messages: 15
Registered: July 2009
Junior Member
Hi,

I am trying to contribute an extension from start method of my bundle activator. The following thread helped me for that. It mandates that we set a startup parameter allowing the registry to accept null user token, this seems to be a sort of the security thing. i want to do it without giving the startup parameter, for which i need the security token accessible in the plugin.

http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg36505.html

in the class ExtensionRegistry there is a method getTemporaryUserToken() to access the token, but it is clearly mentioned not to use the method and should contact the equinox team if somebody needs to use them.

I feel that bundle should be able to contribute an extension freely without any of the security hurdle. please mention if am missing something.

Thanks
Jagadish Suri

Re: Contributing the extension point programatically [message #642260 is a reply to message #642147] Tue, 30 November 2010 15:53 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

jagadish suri wrote:
> Hi,
>
> I am trying to contribute an extension from start method of my bundle
> activator. The following thread helped me for that. It mandates that we
> set a startup parameter allowing the registry to accept null user token,
> this seems to be a sort of the security thing. i want to do it without
> giving the startup parameter, for which i need the security token
> accessible in the plugin.
>
> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg36505.html

You found information on what is supported today.

You may want this, but other apps and products built on eclipse
especially require that contributed bundles cannot arbitrarily fiddle
with the extension registry.

Since you control your app, you can do it no problem with the null user
token.

In my app, you'll not be fiddling with my extension registry thank you
very much! :-)

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Timeout when loading bundles
Next Topic:project dependency on antbuilder product
Goto Forum:
  


Current Time: Fri Apr 19 09:18:49 GMT 2024

Powered by FUDForum. Page generated in 0.01819 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top