Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Goal: Show EMF Resource contents as subtree in Workbench Navigator.


Hi,
I am attaching a document which explains how to add the content to display in the common navigator.
Please let me know if you have any questions.
Thanks



Saurabh Agarwal
Staff Engineer
Rational Software, IBM Software Group
4205 S. Miami Blvd
Durham NC 27703
Tel: 919  254 7089
Email: agarwasa@xxxxxxxxxx







Mark Diggory <mdiggory@xxxxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

04/11/2005 12:25 AM
Please respond to mdiggory,"General discussion of project-wide or architectural issues."

       
        To:        "General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [wtp-dev] Goal: Show EMF Resource contents as subtree in Workbench        Navigator.



Hello again,

I get the idea that is should be easy for me to add my EMF Resources
Model and Providers as an extension to the Common Workbench Navigator.
But without just the simplest example, I find myself digging deep into
the WTP codebase seeking out any usage example. Please, if anyone could,
please point me to an example. I've got most of the project source
mounted in Eclipse. My latest understanding is that somehow, I can use
extension points found in

org.eclipse.wst.common.emfworkbench.integration

to extend the viewer with my resources Factory... However, I've also
discovered this example with an emfEnablement section suggesting I can
do it straight off the Navigators "navigatorContent" extension point.
Any assistance is greatly appreciated.

-Mark Diggory

>  <extension
>          point="org.eclipse.wst.common.navigator.views.navigatorContent">
>       <navigatorContent
>             name="Web Services"
>             priority="low"
>             icon="icons/webgroup_obj.gif"
>            
> contentProvider="org.eclipse.jst.j2ee.internal.webservice.WebServicesNavigatorContentProvider"
>            
> labelProvider="org.eclipse.jst.j2ee.internal.webservice.WebServicesNavigatorLabelProvider"
>            
> openListener="org.eclipse.jst.j2ee.internal.webservice.WebServicesNavigatorGroupOpenListener"
>            
> id="org.eclipse.wst.common.frameworks.internal.navigator.webservice"
>             >
>          <enables>
>             <or>
>                <objectClass
>                      
> name="org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroup">
>                </objectClass>
>                <objectClass
>                      
> name="org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription">
>                </objectClass>
>                <objectClass
>                      
>  name="org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType">
>                </objectClass>
>                <objectClass
>                      
> name="org.eclipse.wst.wsdl.internal.util.WSDLResourceImpl">
>                </objectClass>
>             </or>
>          </enables>
>          <emfEnablement>
>              <package uri="wsdd.xmi" />                    
>              <package uri="webservice_client.xmi" />              
>              
>              <package uri="wscommon.xmi" />
>              <package uri="http://www.ibm.com/wsdl/2003/WSDL"/>
>          </emfEnablement>
>       </navigatorContent>
>    </extension>


_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Attachment: commonnavigator.zip
Description: Zip archive


Back to the top