Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF.Edit CreateNewChildAction contribution to common Navigator based Viewer
EMF.Edit CreateNewChildAction contribution to common Navigator based Viewer [message #418801] Wed, 30 April 2008 07:54 Go to next message
Suresh Subramanian is currently offline Suresh SubramanianFriend
Messages: 61
Registered: July 2009
Member
Hi,

I am trying to find pointer to contribute CreateChildAction and
CreateSibling actions of generated editor EditingDomainActionBarContributor
actions to Common Navigator based view. Is there any pointer to this. I
already read common Navigator blog by Michael D. Elder .But i am not sure
how to proceed.

Regards,
Suresh Subramanian
Re: EMF.Edit CreateNewChildAction contribution to common Navigator based Viewer [message #418868 is a reply to message #418801] Wed, 30 April 2008 11:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33139
Registered: July 2009
Senior Member
Suresh,

Supporting editing in the common navigator seems tricky. At what point
would such changes actually be saved to the underlying workspace? I
guess is should happen immediately after the change. I have no
experience with the common navigator that I can share though, so
hopefully someone else will share their insights.


Suresh Subramanian wrote:
> Hi,
>
> I am trying to find pointer to contribute CreateChildAction and
> CreateSibling actions of generated editor EditingDomainActionBarContributor
> actions to Common Navigator based view. Is there any pointer to this. I
> already read common Navigator blog by Michael D. Elder .But i am not sure
> how to proceed.
>
> Regards,
> Suresh Subramanian
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF.Edit CreateNewChildAction contribution to common Navigator based Viewer [message #418873 is a reply to message #418868] Wed, 30 April 2008 14:25 Go to previous messageGo to next message
Suresh Subramanian is currently offline Suresh SubramanianFriend
Messages: 61
Registered: July 2009
Member
Ed,

Actually it will be saved whenever the user chose to save it. My triggering
point would be Resource level. meaing in my project i will have folder for
my models and my model files will have particular extension. I am using
org.eclipse.ui.navigator.navigatorContent extension point to contribute to
the common navigator. I am able to do that. But in the common navigator to
contribute action provoider my action provider class should be extending
CommonActionProvider of the CNF. I am not sure how to couple the
CommonActionProvider and EditingDomainActionBarContributor.

I am sure some one in the group might have already tried this. Hopefully
some one respond to this post.

Thanks,
Suresh Subramanian
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fv9m37$aoq$1@build.eclipse.org...
> Suresh,
>
> Supporting editing in the common navigator seems tricky. At what point
> would such changes actually be saved to the underlying workspace? I guess
> is should happen immediately after the change. I have no experience with
> the common navigator that I can share though, so hopefully someone else
> will share their insights.
>
>
> Suresh Subramanian wrote:
>> Hi,
>>
>> I am trying to find pointer to contribute CreateChildAction and
>> CreateSibling actions of generated editor
>> EditingDomainActionBarContributor actions to Common Navigator based view.
>> Is there any pointer to this. I already read common Navigator blog by
>> Michael D. Elder .But i am not sure how to proceed.
>>
>> Regards,
>> Suresh Subramanian
>>
>>
Re: EMF.Edit CreateNewChildAction contribution to common Navigator based Viewer [message #418878 is a reply to message #418873] Wed, 30 April 2008 16:22 Go to previous message
Suresh Subramanian is currently offline Suresh SubramanianFriend
Messages: 61
Registered: July 2009
Member
I am just posting this msg in platform news group also. May be some one have
some idea about it.

Thanks,
Suresh Subramanian
"Suresh Subramanian" <sursubra@cisco.com> wrote in message
news:fv9via$3d3$1@build.eclipse.org...
> Ed,
>
> Actually it will be saved whenever the user chose to save it. My
> triggering point would be Resource level. meaing in my project i will have
> folder for my models and my model files will have particular extension. I
> am using org.eclipse.ui.navigator.navigatorContent extension point to
> contribute to the common navigator. I am able to do that. But in the
> common navigator to contribute action provoider my action provider class
> should be extending CommonActionProvider of the CNF. I am not sure how to
> couple the CommonActionProvider and EditingDomainActionBarContributor.
>
> I am sure some one in the group might have already tried this. Hopefully
> some one respond to this post.
>
> Thanks,
> Suresh Subramanian
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fv9m37$aoq$1@build.eclipse.org...
>> Suresh,
>>
>> Supporting editing in the common navigator seems tricky. At what point
>> would such changes actually be saved to the underlying workspace? I
>> guess is should happen immediately after the change. I have no
>> experience with the common navigator that I can share though, so
>> hopefully someone else will share their insights.
>>
>>
>> Suresh Subramanian wrote:
>>> Hi,
>>>
>>> I am trying to find pointer to contribute CreateChildAction and
>>> CreateSibling actions of generated editor
>>> EditingDomainActionBarContributor actions to Common Navigator based
>>> view. Is there any pointer to this. I already read common Navigator blog
>>> by Michael D. Elder .But i am not sure how to proceed.
>>>
>>> Regards,
>>> Suresh Subramanian
>>>
>>>
>
>
Previous Topic:Is there now one command framework in the platform that EMF & GEF could use?
Next Topic:How to Populate the Problems View after calling MarkerUtil.createMarkers()
Goto Forum:
  


Current Time: Tue Apr 23 07:28:53 GMT 2024

Powered by FUDForum. Page generated in 0.03621 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top