Is it possible to remove perspective's popup menu using activities ? [message #443249] |
Wed, 25 January 2006 07:48 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02930 seconds