Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341514

Summary: EMF Facet Queries have to be able to use EditingDomain
Product: z_Archived Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: EMF-FacetAssignee: Gregoire Dupe <gdupe>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: emft.facet-inbox, gdupe
Version: unspecifiedFlags: gdupe: indigo+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Bug 341514.patch gdupe: iplog+

Description Nicolas Guyomar CLA 2011-03-31 11:46:48 EDT
Hi,

In order to use EMF Facet queries to directly edit model elements, we need to be able to provide a query with an EditingDomain, so that the query can perform EMF Command.


Regards,
Nicolas Guyomar
Comment 1 Nicolas Guyomar CLA 2011-03-31 12:18:42 EDT
Created attachment 192300 [details]
Bug 341514.patch

Hi,

I've added IJavaModelQueryWithEditingDomain to be able to instantiate JavaQuery with an EditingDomain.

As a side effect I also created AbstractModelQueryWithEditingDomain with a new basicEvaluate() method so that we can directly pass the editingDomain to the query

(a) I, Nicolas Guyomar, wrote 100% of the code I've provided.
(b) I have the right to contribute the code to Eclipse.
(c) I contribute the content under the EPL.
(d) This contribution contains no Cryptography features.

Regards,
Nicolas Guyomar
Comment 2 Gregoire Dupe CLA 2011-03-31 12:42:25 EDT
Comment on attachment 192300 [details]
Bug 341514.patch

Here is a contribution from one employee of Mia-Software, targeting future
Indigo release. The company has signed a Member Commiter Agreement. The
contribution does not need a CQ (see bug 322327).

I've committed this contribution.

Committed revision 483.
Comment 3 Gregoire Dupe CLA 2011-03-31 12:43:06 EDT
This bug can be marked as fixed.
Comment 4 Gregoire Dupe CLA 2011-06-08 10:10:28 EDT
This bug can be closed.