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

Bug 340941

Summary: Need new row and column types in the table
Product: z_Archived Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: EMF-FacetAssignee: Gregoire Dupe <gdupe>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: emft.facet-inbox, gdupe
Version: unspecifiedFlags: gdupe: indigo+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 340940    
Attachments:
Description Flags
Patch for bug 340941
none
Patch for Bug 340941 gdupe: iplog+

Description Nicolas Guyomar CLA 2011-03-25 05:55:36 EDT
Hi,

While adding the FacetReferenceColumn and FacetAttributeColumn, I need to be able to define new types of row to display query results in the table. (using the Query execution view for instance)

Regards,
Nicolas Guyomar
Comment 1 Nicolas Guyomar CLA 2011-03-25 06:16:26 EDT
Created attachment 191896 [details]
Patch for bug 340941

Hi,

I've added new rowtypes in tableInstance2 model : 
- QueryRow
- PrimitiveTypeQueryRow : dedicated to display primitive type results
- EObjectQueryRow : dedicated to display EObject results

as well as a new column type, named "ValueColumn", which will be used to diplay primitive type result in the table.

I've also added a modified QueryTableInstance, named QueryTableInstance2, with a containment references on ModelQueryResult so that it would be possible to serialize query result later.

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

Regards,
Nicolas Guyomar
Comment 2 Nicolas Guyomar CLA 2011-03-25 06:35:22 EDT
Created attachment 191900 [details]
Patch for Bug 340941

Hi,

Please find attached an updated version with the documentation

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

Regards,
Nicolas Guyomar
Comment 3 Gregoire Dupe CLA 2011-03-25 08:57:54 EDT
Comment on attachment 191900 [details]
Patch for Bug 340941

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 451.
Comment 4 Gregoire Dupe CLA 2011-03-25 08:58:27 EDT
This bug can be marked has fixed.
Comment 5 Gregoire Dupe CLA 2011-06-07 13:23:29 EDT
This bug can be closed.