How to hide perspective's popup menu? [message #443161] |
Tue, 24 January 2006 10:49 |
|
Hi all,
I need to hide perspective's popup menu especially Customize, Save As,
Reset, Close, Close All. Someone suggest that we use activities to achieve
that but since the perspective popup menu is not defined declaratively in
the plugin.xml, I find it impossible to use activities because there's no
way I can get the contribution Id of the popup menu.
I also try snippet submitted in Bugs #84226 and actually it works as
expected but I don't want to use it because the appearance of the
resulting perspective bar is not the same as the original one.
Any help would be greatly appreciated.
Thanks in advanced.
Setya
|
|
|
|
|
Re: How to hide perspective's popup menu? [message #443282 is a reply to message #443262] |
Thu, 26 January 2006 03:25 |
|
Thanks for the response,
> It's the perspective switcher, not the perspective,
> that has these commands. Why not just get rid of the
> perspective switcher?
Because I need the perspective switcher anyway. I want the user to be able to switch between perspectives, but I don't want them to be able to customize the perspective using Customize... menu.
Regards,
Setya
|
|
|
|
Re: How to hide perspective's popup menu? [message #443331 is a reply to message #443295] |
Fri, 27 January 2006 03:08 |
|
> Write your own perspective switcher? That would seem
> to do it.
Seems like this is the only way to go, but it's kind of reinventing the wheel since I feel OK with most of the default perspective switcher facilities except its Customize... context menu.
>However, the Window -> Customise
> Perspective would still show up.
>
In my apps I do not include Customize Perspective... in my window menu.
Regards,
Setya
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03260 seconds