Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Activities to control preference page visibility
Activities to control preference page visibility [message #537642] Thu, 03 June 2010 08:36 Go to next message
Dominic Hanlan is currently offline Dominic Hanlan
Messages: 98
Registered: July 2009
Member
Is this possible? I have an application which uses preference pages which I want to control based on user role. I have this
implemented for menus etc. but preference pages don't seem to fit this model.

Any suggestions?
Re: Activities to control preference page visibility [message #537691 is a reply to message #537642] Thu, 03 June 2010 11:54 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Dominic Hanlan wrote:
> Is this possible? I have an application which uses preference pages
> which I want to control based on user role. I have this implemented for
> menus etc. but preference pages don't seem to fit this model.

Expression based activities should control preference pages. the
pattern should be plugin.id/pref.page.id

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Activities to control preference page visibility [message #537712 is a reply to message #537691] Thu, 03 June 2010 12:45 Go to previous message
Dominic Hanlan is currently offline Dominic Hanlan
Messages: 98
Registered: July 2009
Member
Just so, and it works perfectly.
Thanks


Paul Webster wrote:
> Dominic Hanlan wrote:
>> Is this possible? I have an application which uses preference pages
>> which I want to control based on user role. I have this implemented
>> for menus etc. but preference pages don't seem to fit this model.
>
> Expression based activities should control preference pages. the
> pattern should be plugin.id/pref.page.id
>
> PW
>
>
Previous Topic:adapters extension point
Next Topic:How to "lock" workspace?
Goto Forum:
  


Current Time: Sun Oct 26 05:26:11 GMT 2014

Powered by FUDForum. Page generated in 0.27145 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software