1 year ago

#137418

test-img

user3726374

Creating a popup menu within a fragment.e4xmi for an editor at extension point org.eclipse.ui.editors

I am creating a custom editor via the extension point org.eclipse.ui.editors. This works all well. Let's say this is given the id=my.custom.editor.id

Now, I would like to define a popup menu for my editor within my fragment.e4xmi. I do not seem to get this to work. I tried creating a menuContribution with the Parent-ID:my.custom.editor.id, but when I try to activate the menu in my editor with menuService.registerContextMenu, I can see that no menu is associated to my editor part.

What is the correct way to create such a context menu?

contextmenu

e4

eclipse-fragment

0 Answers

Your Answer

Accepted video resources