Bug 436032 - Add a contentTypeAssociation configuration element in metaModelDescriptors extension
Summary: Add a contentTypeAssociation configuration element in metaModelDescriptors ex...
Status: CLOSED WONTFIX
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-28 05:24 EDT by Yue Ma CLA
Modified: 2024-05-07 00:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yue Ma CLA 2014-05-28 05:24:30 EDT
A new configuration element "contentTypeAssociation" is required in the metaModelDescriptors extension, for the purpose of adding associated content type to the meta-model described by the meta-model descriptor.

== proposed solution ==
* Add a new method addAssociatedContentTypeId() in the IMetaModelDescriptor interface
* Implement AbstractMetaModelDescriptor#addAssociatedContentTypeId()
* Read the associated content type IDs in MetaModelDescriptorRegistry#lazyInitialization():
  Create a new method MetaModelDescriptorRegistry#readAssociatedContentTypeIds(), which reads the contributions to contentTypeAssociation element, and adds the content type to the meta-model descriptor by addAssociatedContentTypeId()
Comment 1 Balazs Grill CLA 2024-05-07 00:17:07 EDT
Closed stale issue before migration