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.

Saurabh,

This is a great help. I'm also trying to understand more specifically how the emfEnablement portion works, which is outside the scope of your docs. Do you have any details on this aspect?

thanks for the great tutorial,
Mark Diggory

Saurabh Agarwal wrote:


Hi,
I appologize for sending the wrong files. Those were not intentional :) . I am attaching the correct files.
Thanks

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








	*"Max Rydahl Andersen" <max.andersen@xxxxxxxxx>*
Sent by: wtp-dev-bounces@xxxxxxxxxxx

04/11/2005 09:43 AM
Please respond to "General discussion of project-wide or architectural issues."

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




On Mon, 11 Apr 2005 15:32:49 +0200, Saurabh Agarwal <agarwasa@xxxxxxxxxx> wrote:

Word file seems fine, but all the .java files has 0/zero length.
Is that intentional ? ,)

/max

> 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
>



--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
max@xxxxxxxxxxxxx
http://hibernate.org

JBoss Inc
max.andersen@xxxxxxxxx
http://jboss.com
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev




Back to the top