Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDynamically change the menu label
https://www.eclipse.org/forums/index.php/mv/msg/156922/494709/#msg_494709
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]]>Neha2009-11-02T09:54:25-00:00