[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-ui-dev] Filtering Menu Items with Activities
- From: Boris Bokowski <bokowski@xxxxxxxxx>
- Date: Mon, 18 May 2009 14:32:44 -0400
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IJhpWFmPwtnpv0ekgJ99N1g/IUa4lh0RyXz5ZmOPOswbnDaC8ydPd0AHew3Z5kilPn 6DYqlpY8ZfYuP21/9MmRA7g3sF2ZCsHj7HkeGoAN5BRD3rBGaAZQXoUbf++z0fxfSMe3 ZWwoFA3BbLkhBeMf9TsP1G9KJ//HTiUQ46KyI=
I would use the new plug-in spy mode available as of 3.5 M7. Press
Shift+Alt+F2, then select the menu item you would like to know more
about. This is only to find the IDs, your RCP app can still target an
older version of Eclipse of course.
Please follow up on the eclipse.platform.rcp newsgroup.
On Mon, May 18, 2009 at 1:21 PM, Michael Ihde
> In my RCP product I'm trying to filter out some of the core main menu
> items, such as "Customize Perspective". I've tried numerous
> activityPatternBinding patterns and I can get *most* of the undesired
> elements removed with "org\.eclipse\.ui\..*" but this unfortunately
> removes things like the "Exit" menu item. I've tried many other
> pattern bindings to attempt to get finer control, but none of them
> remove anything. For example "org\.eclipse\.ui/.*",
> "org\.eclipse\.ui\.[a-zA-Z]*", "org\.eclipse\.ui.*/.*" all have no
> effect. I've also tried all possible plugin ids (such as workbench,
> ide, etc.) in a format such as "org\.eclipse\.ui\.workbench/.*" to no
> How do I figure out the proper IDs to use for these menu items.
> Specifically I want to remove
> Window -> New Window
> Window -> Customize Perspective...
> Window -> Save Perspective As...
> Window -> Close Perspective
> Window -> Close All Perspectives
> Window -> Preferences
> Edit -> Add Bookmark
> Edit -> Add Task
> File -> Switch Workspace
> platform-ui-dev mailing list