can activities enable/disable perspectives? [message #309330] |
Tue, 24 October 2006 14:23  |
Eclipse User |
|
|
|
R 3.1.2/3.2.1 (we are migrating)
WinXP
I have started experimenting with activities, and I can manage to disable an action declared in my
plugin.xml (it vanishes from the toolbar/file-menu), so I must have the basic structure correct. But
when I try to disable (hide) a perspective, it is still available (in the open perspective dialog).
In both cases my "regex" is simply <pluginid>/<full-extension-point-id>.
The FAQ 240 in contrasting activities & perspectives says "perspectives are ... controlled entirely
by the user", which could reasonably be taken to imply that "activities cannot control
perspectives". Is that true?
If so, there seems to me to be a small problem -- how to arrange that an activity can allow the
creation of a perspective? After all, one might want to define an activity in which the "Security
Administrator" perspective (as well as all of its views) were unavailable.
thanks,
Paul
|
|
|
|
Re: can activities enable/disable perspectives? [message #309553 is a reply to message #309336] |
Tue, 31 October 2006 03:03  |
Eclipse User |
|
|
|
Actually your presented example where a showstopper for activities
for us, at least given our requirements we wanted to solve with them:
I don't know the current state of affairs, but for Eclipse 3.2 the
checkbox "Show all" became unconditionally visible, if any activity
constraints where active.
The point is, that we would like to use activities under total
programmer's control, that is, we would like to filter the list of the
"Select Perspective" dialog hidden from users interaction to realize
some kind of role-based behaviour. Thus there should be no such user
button to activate them.
Is someone aware, whether this checkbox is itself controlleable via
activities or other means?
Thanks in advance,
Daniel Krügler
|
|
|
Powered by
FUDForum. Page generated in 0.03828 seconds