Load Plugins [message #448135] |
Tue, 18 April 2006 18:05  |
Eclipse User |
|
|
|
Originally posted by: mgervais.signaturegenetics.com
Hi, I'bve a question about plugins, I'd like to add a connexion dialog to my
rcp application, to check who is logged, and after check if I can load
dependant plugins according to the user roles. I'd like to know if it's
possible and how to do this?
I've create a ConnexionDialog which extends
org.eclipse.jface.dialogs.Dialog, and I want to show this dialog in the
plugin start method, but it crash with a NoClassFoundError... I don't
understand why the class is not found and the plugin is started... Can we
interact on the loading process?
thanks for your help.
Mickael
|
|
|
|
Re: Load Plugins [message #448244 is a reply to message #448222] |
Wed, 19 April 2006 17:55  |
Eclipse User |
|
|
|
Originally posted by: mgervais.signaturegenetics.com
I've tried to use this plugin, it ok, but the wotks like this:
its load plugins, and theses plugins should not be mentionned in the
..product, but in extension point, and I'd like to use it in a different way
,m when I'm logged, I start dependent plugins only if they have the correct
role(associated to the current user), but I cannot stop a bundle alreay
started. I've tried to not call the start method in the Activator if the
login was not successfull but it doesn't work, how can I do this? Is it a
good idea?
Thanks
Mickael
"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:e257m7$l73$2@utils.eclipse.org...
> There is an eclipse-jaas project on sourceforge that offers:
>
> 1) authenticate a user
> 2) load plugins based on authentication.
>
> I would check that out.
>
> Later,
> PW
|
|
|
Powered by
FUDForum. Page generated in 0.02957 seconds