Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Add menu option to popup on View tab(Add menu option to popup on View tab)
Add menu option to popup on View tab [message #529188] Fri, 23 April 2010 11:05 Go to next message
Andy Coleman is currently offline Andy ColemanFriend
Messages: 33
Registered: September 2009
Member
Hi,

We have a view which contains a table of realtime data. The user is able to create multiple instances of this view and apply different filters to provide a different perspective on the data.

I would like to allow the user to be able to easily rename an instance of the view and was considering if it was possible to add a menu option like 'Rename' to the popup menu that appears when right clicking on the view tab (the menu that has options like Detach, Restore Move etc).

Thanks in advance.

Andy
Re: Add menu option to popup on View tab [message #529238 is a reply to message #529188] Fri, 23 April 2010 14:29 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

That's the "system" menu, and is controlled by the presentation. The
presentations that are added with eclipse don't support the ability to
contribute to that menu.

See org.eclipse.ui.internal.presentations.util.StandardViewSyste mMenu
for example.

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:zoom ScalableFreeformRootEditPart using a Zoom Bar
Next Topic:Zoom view to a specific size or % of screen
Goto Forum:
  


Current Time: Wed Dec 11 05:04:25 GMT 2019

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

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

Back to the top