Are enabled activities persisted? [message #330620] |
Tue, 05 August 2008 20:22 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: brianogorman.yahoo.com
I cannot find anything in the doc re this.
If I enable an activity using
IWorkbenchActivitySupport.setEnabledActivities(), will the activity be
automatically enabled when I restart Eclipse? (or my Eclipse based
application).
|
|
|
Re: Are enabled activities persisted? [message #330630 is a reply to message #330620] |
Wed, 06 August 2008 11:07 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: brianogorman.yahoo.com
Brian O'Gorman wrote:
> I cannot find anything in the doc re this.
>
> If I enable an activity using
> IWorkbenchActivitySupport.setEnabledActivities(), will the activity be
> automatically enabled when I restart Eclipse? (or my Eclipse based
> application).
Ok. <one little plugin later>. Seems they are.
Does anyone know if this is something new in 3.4 or if it always was so
(just curious).
|
|
|
Re: Are enabled activities persisted? [message #330642 is a reply to message #330630] |
Thu, 07 August 2008 03:23 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
On Wed, 06 Aug 2008 12:07:18 +0100, Brian O'Gorman wrote:
I'm pretty sure it was the same in 3.3. We've tried using activities to
hide plugins from some users. We found that a workspace from one user,
who had visibility of the plugin, when used by another user allowed
access to the plugin. Points out that activities shouldn't be used for
security and that eclipse lacks robust access control.
Craig
> Brian O'Gorman wrote:
>> I cannot find anything in the doc re this.
>>
>> If I enable an activity using
>> IWorkbenchActivitySupport.setEnabledActivities(), will the activity be
>> automatically enabled when I restart Eclipse? (or my Eclipse based
>> application).
>
>
> Ok. <one little plugin later>. Seems they are.
>
> Does anyone know if this is something new in 3.4 or if it always was so
> (just curious).
|
|
|
|
Powered by
FUDForum. Page generated in 0.04475 seconds