[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Disabling "New Editor" option in context menu

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/msg14297.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