Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369673 - [Facet] IsOneOfQuery
Summary: [Facet] IsOneOfQuery
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: 2012-01-25 10:25 EST by Gregoire Dupe CLA
Modified: 2020-05-01 11:27 EDT (History)
1 user (show)

See Also:
gdupe: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregoire Dupe CLA 2012-01-25 10:25:21 EST
Hello,

To declare an instance independent customization we have to be able to add an attribute (color, font, label, etc.) to the meta-meta-class 'EClass' and to define its value for each instance of EClass (meta-class).

To define the customization attribute value of a chosen meta-class we have to extend the facet defining the customization attribute (color, font, label, etc.). The second facet (extending the first facet) will be used to override the customization attribute to define a value specific to the customized meta-class. This means that the second facet has applicable on the customized meta-class.

To avoid to define a query (Java or OCL) for each customized meta-class, we need a query type returning true if the source of the query is contained in a list of eObject.

Regards,
Grégoire
Comment 1 Gregoire Dupe CLA 2012-01-25 11:40:58 EST
I've committed an implementation of this new kind of query (and corresponding non regression test)

Committed revision 1513.

Can be marked resolved.
Comment 2 Gregoire Dupe CLA 2012-05-23 06:59:42 EDT
This bug can be closed.