|
|
|
|
Re: Update problems [message #452706 is a reply to message #452687] |
Thu, 13 July 2006 08:12 |
Daniel Krügler Messages: 853 Registered: July 2009 |
Senior Member |
|
|
Mike Evans wrote:
> On Tue, 11 Jul 2006 20:09:15 +0000 (UTC), Alex wrote:
> Lookup Advanced workbench concepts / Filtering large user interfaces /
> Activities in th4e Help file.
> I use these at start-up to filter out UI stuff a a particular user should
> not use (via IWorkbenchActivitySupport.setEnabledActivites() );
I experienced with activities a while ago and was impressed by their
"capabilities" (pun intended..). We stopped integrating them into our
application, when we found out, that it is possible for the *user* to
bypass them. One example: We would like to reflect user roles onto
visible perspectives and views. That can actually easily solved by
activities, but if you use the predefined perspective bar of Eclipse,
and the user opens the perspective selection view under restricted
conditions there exists a checkbox, which allows him/her to enable even
currently diabled activities....
When I asked how to configure this perspective bar programmatically
*not* to show this checkbox I was told, that actually activities are not
intended to be used for such tasks. Eclipse-Jaas might solve some of
your problems, but it seems too coarse-grained for me to do that,
because it rules complete plugin (de)activations. I would strongly
prefer extension-point-selective (de)activations (which are possible
with activities). Is anyone aware of intends to provide such a framework
for RCP applications?
Greetings from Bremen,
Daniel Krügler
|
|
|
Powered by
FUDForum. Page generated in 0.04045 seconds