Ups. I believe I have an error in my tutorial. I'm very sorry for this. I use the parentID: "_m8-RoS2LEd-RMdxMTPbEkQ", which is incorrect.
Change the id of your application in Application.e4xmi to "myapplication". Then the following should find the right parent. <?xml version="1.0" encoding="ASCII"?> <application:ModelComponents 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" xsi:schemaLocation="http://www.eclipse.org/ui/2008/UIModel ../../org.eclipse.e4.ui.model.workbench/model/UIElements.ecore" xmi:id="_UW9TZfr3Ed6gmo7caOxU9h"> <components xmi:id="_UW9TZfr3Ed6gmo7caOxU9q" id="_UW9TZfr3Ed6gmo7caOxU9q" parentID="myapplication"> <descriptors id="de.vogella.e4.rcp.modelcontribution.parts.View2" URI="platform:/plugin/de.vogella.e4.rcp.modelcontribution/de.vogella.e4.rcp.modelcontribution.parts.View2" label="My Model Component" category="_m-UVdy2LEd-RMdxMTPbEkQ"/> </components> </application:ModelComponents> I'll try to update the tutorial soon (tonight or tomorrow). 2010/3/18 Paul Webster <[email protected]>: > On Thu, Mar 18, 2010 at 5:56 PM, tom <[email protected]> wrote: >> Still no luck for getting the descriptor stuff working. >> I'm getting now this error in the console: Unable to find feature named >> "descriptors" >> >> I'm using the build I20100317-2100 > > What does your model component xmi look like? if it is complaining > about a "feature" it means it cannot find a matching named feature in > the target. ex: you can only add descriptors to the application. No > where else. > > PW > > -- > Paul Webster > Hi floor. Make me a sammich! - GIR > _______________________________________________ > e4-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/e4-dev > -- Lars http://www.vogella.de - Tutorials about Java, Eclipse and Web programming http://www.twitter.com/vogella - Lars on Twitter _______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
