|Re: Security and Activities [message #502374 is a reply to message #502372]
||Mon, 07 December 2009 21:28
| Del Myers
Registered: July 2009
You could probably hack something together using workbench listeners (see |
IWorkbench.addWindowListener()/addWorkbenchListener() and related listeners for
IWorkbenchWindow, IWorkbenchPage, etc.) that would listen for when a perspective
was switched, parts are opened, etc., and close them immediately if they don't
match whatever "security criteria" that you impose. It would be a hack, though,
and it would sort of go against the Eclipse workbench "philosophy".
If you really wanted to do it right, I imagine that you would have to roll out
your own implementation of the workbench and use it as a forked Eclipse product.
I'm not an expert, though.
> For security purposes, I am trying to prevent views/editors/perspectives
> from being opened both on startup and by using a command. Do you have
> any suggestions on how to do this?
Powered by FUDForum
. Page generated in 0.08019 seconds