Eclipse 3.5: Implementing my own context menu for a MultipageEditorPart --> no viewer involved

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-02-11T12:00:33Z Indexed on 2010/06/09 5:02 UTC
Read the original article Hit count: 294

Filed under:
|
|
|

Hello! :-)

In my current RCP-project i use a MultipageEditorPart. It has various pages, with simple SWT composites on it. The composites contain some Text and Combo elements. When the user right clicks onto the editor page, I want a context menu to open. This menu holds a command for creating a new editor page, with a composite on it.

The command is already working, but I'm quite clueless about how to implement the context menu for the editor. Can someone help with this?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse