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

Bug 369824

Summary: Add a simple way to return string literal constants from a customization query
Product: z_Archived Reporter: Olivier Remaud <oremaud>
Component: EMF-FacetAssignee: Gregoire Dupe <gdupe>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: emft.facet-inbox, gdupe
Version: unspecifiedFlags: gdupe: juno+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 362097    
Attachments:
Description Flags
Implementation proposal gdupe: iplog+

Description Olivier Remaud CLA 2012-01-26 11:16:37 EST
EMF Facet framework allows to customize the appearance of EObjects via Customizations. This mechanism use configurable queries (JavaQuery) to fetch information from the underlying object model. In some cases, the query will just return a constant text string, and writing a JavaQuery for each constant is painful and time consuming. It would be nice to have a way (specialized query) to return literal string constants.
Comment 1 Olivier Remaud CLA 2012-01-27 06:14:06 EST
Created attachment 210172 [details]
Implementation proposal

(a) I, Olivier Remaud, 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.
Comment 2 Gregoire Dupe CLA 2012-01-27 06:32:55 EST
Comment on attachment 210172 [details]
Implementation proposal

This path is smaller that 250 mines (143 lines).

I've committed this contribution.

Committed revision 1515.
Comment 3 Gregoire Dupe CLA 2012-03-13 12:58:40 EDT
This bug can be marked as fixed.
Comment 4 Olivier Remaud CLA 2012-04-26 09:13:53 EDT
Works fine.