[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Reload fillMenuBar
|
- From: Daniel Krügler <dsp@xxxxxxx>
- Date: Tue, 03 Jul 2007 10:58:23 +0200
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
Tonny Madsen wrote:
Consider using activities for the role management. In this case, you only need to run fillMenuBar once.
Look at http://blog.rcp-company.com/2007/06/using-activities-for-user-management.html for an example...
Some time ago we also considered to use activities for this use-case,
but stopped doing so, when we realized that activities do not allow us
to prevent the user to change a perspective into one, for which she
has no rights. The problem is, that under activity-constrained
perspectives, the dialog that appears after
Open Perspective>Other...
has been choosen, will present a checkbox that allows the user to
see (and choose) all currently hidden (disabled) perspectives,
AFAIK the same applies to the Show View action under constrained
conditions.
Have you found a workaround for this problem without the need to
reimplement both actions?
Greetings from Bremen,
Daniel Krügler