MenuContribution is a concept for the Compat-Layer and should have never
leaked to e4.
There are many replacements in e4 on JavaFX. So if you describe your
usecase we might be able to help.
On 28.06.16 19:16, Robert Onslow wrote:
> My MenuContribution defined in a fragment is not showing, so I tried a dummy MenuContribution in the main Application.e4xmi as attached
> This didn't work either
> I have checked the Parent-ID and can't see where the problem lies. Can anyone see where the problem is?
you don't need a MenuContribution to do this. You can add the DirectMenuItem directly to your menu in the fragment:
1) Add a Model Fragment
2) Enter the ID of your menu in "Extended Element ID" (or use "Find" and search for the Menu element you want to extend)
3) Enter "children" in the Feature Name
4) Add a DirectMenuItem to the list