Bug 473481 - [CompositeDiagram] Misspecified link semantics in the composite diagram GMFGen
Summary: [CompositeDiagram] Misspecified link semantics in the composite diagram GMFGen
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.1.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 464647
  Show dependency tree
 
Reported: 2015-07-24 04:58 EDT by Christian Damus CLA
Modified: 2017-08-02 11:37 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2015-07-24 04:58:20 EDT
Papyrus Mars

The GMFGen model for the Composite Diagram specifies several links as though they were simply Dependencies, but they are more specific and need to be configured appropriately.  All of the following:

* InterfaceRealization
* Substitution
* Manifestation
* Deployment

are specializations of Dependency that are owned by the source end and have narrowed the kinds of clients and suppliers that they accept by subsetting.  The GMFGen has for all of these

* childMetaFeature/containmentMetaFeature: Package::packagedElement
* sourceMetaFeature: Dependency::client
* targetMetaFeature: Dependency::supplier

which are all wrong for each of these links.

There may be other links that have the same problem.  Please review all links.
Comment 1 Christian Damus CLA 2015-07-24 04:59:44 EDT
Blocks correct generation of the diagram tests because it should not be necessary to tailor the test generation model to make exceptions for invalid link edit-part permutations that are caused by misspecification of the GMFGen model in the first place.