|How to make perspective invisible for user [message #511024]
||Fri, 29 January 2010 15:12
Registered: October 2009
I have problem with hiding perspective in Eclipse RCP Application. I want to make perspective invisible for user (dynamically). It means that perspective should be not visible in 'Perspectives' toolbar and 'Open Perspective' dialog (user can't open perspective). I have found how to hide perspective:
IPerspectiveDescriptor pd = ... // perspective to hide
PerspectiveRegistry pr = (PerspectiveRegistry) PlatformUI.getWorkbench().getPerspectiveRegistry();
but I don't know how to make it accessible for user again (perspective visible in 'Perspectives' toolbar and 'Open Perspective' dialog).
Any ideas ??
Thanks in advance,
[Updated on: Fri, 29 January 2010 20:05]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11580 seconds