MarcinK
MarcinK

Reputation: 1

Eclipse RCP application not rendering menu

I inherited Eclipse RCP application with Sirius plugin embeded, app was developed around 2020-21, I'm building menus in ApplicationActionBarAdvisor and this code is executed, but when application starts menu is not rendered, there is no error/stacktrace,

I've added debug.properties to trace what is going on ui but also did not find anything interesting in additional logs, trying to debug it, but I don't know where to catch something useful. I'm also creating cool bar and this is visible, also commands like save works (using Ctrl+S), but my custom one was not executed. I feel like I make very basic mistake, because this is my first RCP app. Do I need to define menu in plugin.xml and/or Application.e4xmi or it can be done just in code?

Upvotes: 0

Views: 68

Answers (1)

MarcinK
MarcinK

Reputation: 1

I found what was wrong, I was creating E4 application with E3 compatibility mode using tutorial found on Internet, from this tutorial I've added reference to Application.e4xmi in plugin.xml this was overriding/conflicting code created by me, so the effect was not menu at all. Removing this reference helped also with custom command. I'm kind of new with this RCP development and still learning, any one could recommend tutorial/book?

Upvotes: 0

Related Questions