Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Where is the "windows" menu?
Where is the "windows" menu? [message #519484] Mon, 08 March 2010 23:45 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
I would like to add a "windows" menu to my RCP including its usual children
(New Window..., New Editor..., Open Perspective..., Show View..., etc.).

Where is that stuff hiding? In an older RCP tutorial they referenced the
plugin org.eclipse.ui.perspectives, but that plugin apparently doesn't even
exist any more in Galileo (at least I couldn't locate it anywhere in the
entire eclipse subtree). Which plugin do I need to include to provide that?

Instead - for some odd reason - my RCP app has a Search menu. Any idea where
that stems from? I don't need that in my app and I am not aware of
referencing it anywhere. So why does this show up? How can I find out, why
that shows up?

Michael
Re: Where is the "windows" menu? [message #519726 is a reply to message #519484] Tue, 09 March 2010 14:28 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Michael Moser wrote:
> I would like to add a "windows" menu to my RCP including its usual
> children (New Window..., New Editor..., Open Perspective..., Show
> View..., etc.).

Have a look at
org.eclipse.ui.internal.ide.WorkbenchActionBuilder.createWin dowMenu in
org.eclipse.ui.ide. That's how the current Window menu is created,
using ActionFactory and ContributionItemFactory.

PW



--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Problem with help invocation if SWT_AWT is used
Next Topic:Problem with modal MessageDialog
Goto Forum:
  


Current Time: Fri Apr 19 18:57:35 GMT 2024

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

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

Back to the top