Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Is it possible to remove perspective's popup menu using activities ?
Is it possible to remove perspective's popup menu using activities ? [message #443249] Wed, 25 January 2006 07:48
Eclipse UserFriend
Hi all,

I need to remove perspective popup menu using activities, I try the
following extension points in plugin.xml :

<extension point="org.eclipse.ui.activities">
<activity description="Activity to remove perspective context menu"
id="com.mycompany.core.perspectiveContextActivity"
name="Perspective Context Activity"/>
<activityPatternBinding
activityId="com.mycompany.core.perspectiveContextActivity"
pattern="org\.eclipse\.ui/???"/>
</extension>

I know that the popup menu comes from org.eclipse.ui plugin, but how do I
find out the identifier of the popup menu ?

I have inspected the code and found out that instead of defined
declaratively in plugin.xml, the menu is created at runtime, so it is
impossible to find the identifier.

For my appplication it is absolutely neccessary to remove the Customize...
& Save As... menu, since if a user has a chance to invoke them and do
something there, my application won't behave properly.

I'm using Eclipse 3.1.0 Build Id: I20050627-1435.

Please Help.



Regards,


Setya
Previous Topic:menubar entries from eclipse plugins
Next Topic:Communication between views
Goto Forum:
  


Current Time: Sun Aug 10 17:38:21 EDT 2025

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

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

Back to the top