Disabling "New Editor" option in context menu [message #461095] |
Thu, 04 January 2007 20:33  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02577 seconds