Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Dynamically change the menu label
Dynamically change the menu label [message #494709] Mon, 02 November 2009 09:54
Neha is currently offline NehaFriend
Messages: 52
Registered: July 2009
Member
Hi,
In my application I need the 'Administration' menu on main menu bar to be
visible only if user logins as systemAdmin else it should be invisible for a
general user.For a general user it should be 'Component' menu with submenu
on which the general user has rights
I can get the permission rights from model class.
In the model I also have a super class 'User' with two subclassess
GeneralUser &
SystemAdmin. So the visiblity of menu should be decided on what class the
user is instance of.
I m using concept of 'activities' for that but the problem i get is when the
role is updated when the application is running
If i repeat the code in the listner that i used in workbench advisor i need
to clean up the existing perspectives, views and editors in the workbench
Is there a way to avoid this cleanup and still have activities working ?
please do let me know

Thanks in Advance !
Neha
Previous Topic:Binding multiple TreeViewers to single model
Next Topic:Declarative menu entry for help system
Goto Forum:
  


Current Time: Tue Mar 19 09:16:15 GMT 2024

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

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

Back to the top