|Contribute from a fragment to a component in application [message #685437]
||Fri, 17 June 2011 10:10
| Christian Eugster
Registered: July 2009
Location: St. Gallen Switzerland
I have two plugins: The first contains the Application.e4xmi, the second a Fragment.e4xmi. In Application.e4xmi I added a toolbar under Trimmed Window -> TrimBars->Window Trim with id "my.id". In Fragment.e4xmi I want to contribute a ToolItem to this toolbar. So in Fragment.e4xmi I added a String Model Fragment with id "my.id" and Feature children. To this I added a Handled Tool Item with Command "my.command" that was defined in another String Model Fragment with Element Id org.eclipse.e4.ide.application and featurename commands. I also added a handler under the same Element Id with reference to the same command.
When I start the application, the toolitem is not shown. The same is with menus I contribute from the fragment to the application. Do I missunderstand the tutorials or where did I do something wrong? And is there some deeper documentation around?
Powered by FUDForum
. Page generated in 0.01857 seconds