Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Menues not shown in wizard generated e4 application
Menues not shown in wizard generated e4 application [message #889753] Tue, 19 June 2012 14:36 Go to next message
Christian Eugster is currently offline Christian Eugster
Messages: 134
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member
Hi,

I am trying out eclipse 4.2RC4. I added the e4 Tools via install new software. I generated my first e4 application using the eclipse 4 application project wizard.

When I run the project, the help menu with the about menuitem is not shown. Can anyone tell me why?

I then added an own menu into the menubar with one menu item that is shown but not enabled. the handler class has no canExcecute method. How do I enable that item?

Thank you.

Christian
Re: Menues not shown in wizard generated e4 application [message #889960 is a reply to message #889753] Wed, 20 June 2012 12:11 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You'll have to tell us exactly what you added? A HandledMenuItem, pointing to a command? Where was the handler defined?

A direct menu item?

PW


Re: Menues not shown in wizard generated e4 application [message #889966 is a reply to message #889753] Wed, 20 June 2012 12:35 Go to previous message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

if you created the command and handler with API (not through the model editor) you may have to call E4Workbench.processHierarchy

See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=376254
Previous Topic:3.x plugins provided with the support of CSS in Eclipse 4?
Next Topic:Unzip of Eclipse4.2 64 bit fails
Goto Forum:
  


Current Time: Tue Oct 21 05:31:02 GMT 2014

Powered by FUDForum. Page generated in 0.02075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software