Skip to main content



      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 07:05 Go to next message
Eclipse UserFriend
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 10:29 Go to previous message
Eclipse UserFriend
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: Sat Aug 30 20:50:54 EDT 2025

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

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

Back to the top