Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317733 - How to apply facets to a related metamodel
Summary: How to apply facets to a related metamodel
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.9.0 M1   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 317577
  Show dependency tree
 
Reported: 2010-06-23 13:54 EDT by Fabien Giquel CLA
Modified: 2013-04-29 07:54 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Giquel CLA 2010-06-23 13:54:16 EDT
Cannot apply a FacetSet for one given metamodel participating to one model.

The use case is this :

- define a facetSet on kdm.source ePackage
- open a kdm model obtained with "Discover KDM Source model from Container"
- try to apply my facetSet : it is not available

the problem : model root element is of "kdm.core.Segment" kind. So FacetSet are proposed for "kdm.core" and its extended metamodels.
"kdm.core" does not extend "kdm.source". "kdm.source" extends (subclasses) "kdm.core".

This bug is related to 309794.
Comment 1 Nicolas Bros CLA 2010-07-05 04:31:47 EDT
Fixed in revision 2650 by filtering the FacetSets in the dialog by their conformance to one of the EPackages referenced by the main Resource.
Comment 2 Fabien Giquel CLA 2010-07-06 12:39:24 EDT
The bug is really fixed, but i think the same fix should be applied to the customizations dialog too. So i reopened this bug.
Comment 3 Nicolas Bros CLA 2010-07-07 03:57:09 EDT
Done for customization dialog too in revision 2663.
Comment 4 Hugo Bruneliere CLA 2010-10-04 13:47:38 EDT
Bug fixed.