Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369824 - Add a simple way to return string literal constants from a customization query
Summary: Add a simple way to return string literal constants from a customization query
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: 362097
  Show dependency tree
 
Reported: 2012-01-26 11:16 EST by Olivier Remaud CLA
Modified: 2020-05-01 11:26 EDT (History)
2 users (show)

See Also:
gdupe: juno+


Attachments
Implementation proposal (6.88 KB, patch)
2012-01-27 06:14 EST, Olivier Remaud CLA
gdupe: iplog+
Details | Diff

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