Showing menu in e4 application [message #567886] |
Tue, 19 January 2010 23:42 |
|
Hi,
I want to add a menu to my minimal e4 application but the menu is not displayed.
I compared with the contact demo (which I also reduced for this purpose) but I cannot see any difference.
The Application.xmi is like the following.
<?xml version="1.0" encoding="ASCII"?>
<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:application="http://www.eclipse.org/ui/2008/UIModel" id="Application">
<children xsi:type="application:Window" label="My first e4 application" iconURI="" tooltip="" id="Window" onTop="true" width="200" height="200">
<children xsi:type="application:Part" id="View1" style="" URI=" platform:/plugin/de.vogella.e4.rcp.first/de.vogella.e4.rcp.f irst.parts.View1 " containerData="" label="Hallo" tooltip=""/>
<children xsi:type="application:Menu" id="">
<children xsi:type="application:MenuItem" id="" label="File">
<children xsi:type="application:DirectMenuItem" URI=" platform:/plugin/de.vogella.e4.rcp.first/de.vogella.e4.rcp.f irst.handlers.ExitHandler " label="Exit"/>
</children>
</children>
</children>
</application:Application>
Advice would be welcome.
Best regards, Lars
|
|
|
|
Powered by
FUDForum. Page generated in 0.05426 seconds