Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Simple view contributed to the e4 workbench

I've been working with the compatibility layer with simple views (to start) and in parallel building the same functionality in a "pure" e4 way that does not use the compatibility layer. To that end, I successfully contributed a simple pure e4 view to the e4 workbench using the following xmi/components.e4xmi

<?xml version="1.0" encoding="ASCII"?>
<application:ModelComponents
   xmlns:application="http://www.eclipse.org/ui/2008/UIModel";
   xmi:id="com.qualityeclipse.favorites_e4.view.favorites">
   <components
       parentID="org.eclipse.e4.ide.application">
       <descriptors
URI="platform:/plugin/com.qualityeclipse.favorites_e4/com.qualityeclipse.favorites_e4.view.FavoritesView"
           label="Favorites for e4"
           category="org.eclipse.e4.primaryNavigationStack" />
   </components>
</application:ModelComponents>

This works, but is it the "right way"? Through trial and error I removed everything I could until I got down to only what was required for the view to appear. Is there anything that I removed that "should" be there?

In addition, I filed a bug/inquiry about the "e4 Designer Workbench"
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302633

--

Dan Rubel
Instantiations, Inc.
http://www.instantiations.com



Back to the top