Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Disabling "New Editor" option in context menu
Disabling "New Editor" option in context menu [message #461095] Thu, 04 January 2007 20:33 Go to next message
Eclipse UserFriend
In my RCP application I have a view with resources listed in it. When a
user double-clicks a resource it is opened in an editor. If the same
resource is double-clicked at a later time the application re-focuses
the already open editor for this resource. I've implemented this using
the IEditorMatchingStrategy as mentioned here:
http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg14297.html

The user can still right-click the editor title area and choose "New
Editor" from the context menu which opens the resource in a second
editor window. How can I remove the "New Window" option or how can I
prevent this duplicate editor window.

Thanks in advance.
-sud
Re: Disabling "New Editor" option in context menu [message #461177 is a reply to message #461095] Fri, 05 January 2007 19:17 Go to previous message
Eclipse UserFriend
You cannot get rid of this without writing your own presentation. It is
not configurable.

Later,
PW
Previous Topic:KeyBindings, ActionSets and more
Next Topic:ViewPart containing openoffice
Goto Forum:
  


Current Time: Sat Mar 22 08:35:56 EDT 2025

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

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

Back to the top