Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF.Edit's EditingDomain
EMF.Edit's EditingDomain [message #493583] Tue, 27 October 2009 04:49 Go to next message
John S. is currently offline John S.Friend
Messages: 22
Registered: October 2009
Junior Member
Hi,

Is it possible to get the EditingDomain in the generated XYZItemProvider classes? I need the ResourseSet/Resource where the EMF model elements go from the notifyChanged method (I put these elements into another Resourse too, but I would like to put this Resource into the same ResourceSet, so I need either the ResourceSet or EditingDomain), I just do not know how

Thanks, John
Re: EMF.Edit's EditingDomain [message #493589 is a reply to message #493583] Tue, 27 October 2009 05:34 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
John,

EObject.eResource().getResourceSet() seems the best way...


John S. wrote:
> Hi,
>
> Is it possible to get the EditingDomain in the generated
> XYZItemProvider classes? I need the ResourseSet/Resource where the EMF
> model elements go from the notifyChanged method (I put these elements
> into another Resourse too, but I would like to put this Resource into
> the same ResourceSet, so I need either the ResourceSet or
> EditingDomain), I just do not know how
>
> Thanks, John


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:editable attribute combo box
Next Topic:Ecore from XSD and sub-packages
Goto Forum:
  


Current Time: Fri Apr 19 22:12:58 GMT 2024

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

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

Back to the top