[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] Re: "Invalid Menu Extension (Path is invalid)" at product execution
|
I had this problem and discovered that it had to do with extending EditorPart in my RCP. What I found out is that the org.eclipse.ui.editors plugin that I was including in my application defines an action (id: 'org.eclipse.ui.edit.text.gotoLastEditPosition'; label: '%goToLastEditPosition.label') under an actionSet extension (id: 'org.eclipse.ui.edit.text.actionSet.navigation'; label: '%textEditorNavigationActionSet.label'). The menuBarPath for the action is "navigate/", meaning that the action expects a Navigate menu in your RCP. This seems silly to me, but that's the way it is.
So, one way to get rid of the error is to create a "Navigate" menu in your RCP. I'm sure there is a far better way to fix the problem, but I'm a relative noob and haven't taken the time to figure it out yet. I hope someone with a little more expertise can use this information to offer a better solution.
-Ben