Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341514 - EMF Facet Queries have to be able to use EditingDomain
Summary: EMF Facet Queries have to be able to use EditingDomain
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Gregoire Dupe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 11:46 EDT by Nicolas Guyomar CLA
Modified: 2020-05-01 11:26 EDT (History)
2 users (show)

See Also:
gdupe: indigo+


Attachments
Bug 341514.patch (11.50 KB, patch)
2011-03-31 12:18 EDT, Nicolas Guyomar CLA
gdupe: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.