Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340941 - Need new row and column types in the table
Summary: Need new row and column types in the table
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Gregoire Dupe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340940
  Show dependency tree
 
Reported: 2011-03-25 05:55 EDT by Nicolas Guyomar CLA
Modified: 2020-05-01 11:27 EDT (History)
2 users (show)

See Also:
gdupe: indigo+


Attachments
Patch for bug 340941 (93.11 KB, patch)
2011-03-25 06:16 EDT, Nicolas Guyomar CLA
no flags Details | Diff
Patch for Bug 340941 (91.15 KB, patch)
2011-03-25 06:35 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-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.