|Menu disabled in RCP with Kepler M4 [message #994869]
||Fri, 28 December 2012 14:06
| Vince Cadmus
Registered: July 2012
I've just tried to run with Kepler M4 an RCP application I did with Juno, and I saw all submenus/toolbar actions are disabled. I tried a brand new sample app in Kepler (with the "Eclipse 4 Application Project" wizard, checking "Create Sample content", without adding anything in the project), to check if I did something wrong, but it is the same : the app has File/Help menus with inside submenus (Open, Save and Quit for File, and About for Help) and 2 actions in the top toolbar (openCommand/saveCommand) but all these submenus and actions are disabled (they are not with the same app in Juno).
Is this a known issue ? I haven't found anything about this.
I tried to investigate, but I don't know anything about this part, so I don't even know where I should begin .
If someone can give me a hand, he/she would be welcome !
|Re: Menu disabled in RCP with Kepler M4 [message #1021701 is a reply to message #997102]
||Wed, 20 March 2013 14:37
| Rui Domingues
Registered: October 2010
Sorry for digging on this topic.
Kepler is now in M5 release, and I added this addon. Everything works fine, however views private members are not injected. Using a constructor everything is injected, but doing :
private EMenuService menuService;
menuService remains null.
Likewise createControls is not invoked. I had to explicitly invoke it from inside the constructor
public void createControls(Composite parent)
Anyone can tell me why? What is missing? Notice this was working on Juno.
Thanks in advance.
[Updated on: Wed, 20 March 2013 14:37]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01785 seconds