Bug 568853 - [Toolsmiths - ElementTypes] Add "MatchAndApply" Stereotype Matcher
Summary: [Toolsmiths - ElementTypes] Add "MatchAndApply" Stereotype Matcher
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Toolsmiths (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 568766
  Show dependency tree
 
Reported: 2020-11-16 09:53 EST by Camille Letavernier CLA
Modified: 2021-03-25 12:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2020-11-16 09:53:17 EST
Currently, when creating an ElementTypeSetConfiguration model for a Profile, there is a lot of redundancy for Stereotypes: each Stereotype requires an ElementTypeMatcher and an ApplyStereotype Advice, that define the Stereotype QualifiedName.

We should add a "MatchAndApplyStereotype" MatcherConfiguration, that also acts as an Advice to apply the matched stereotyped during creation.

While the model change is (I think) relatively straightforward, it might be a bit tricky to interpret at runtime, especially since Stereotypes are not part of the core ElementsTypes model (And Matchers aren't Advices, so the generic framework might not fit).
Comment 1 Eclipse Genie CLA 2020-11-24 09:52:33 EST
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172751
Comment 2 Eclipse Genie CLA 2020-11-24 09:52:34 EST
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172750
Comment 3 Eclipse Genie CLA 2020-11-24 09:52:36 EST
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172753
Comment 4 Eclipse Genie CLA 2020-11-24 09:52:37 EST
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172752
Comment 5 Eclipse Genie CLA 2020-11-24 09:52:38 EST
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172754
Comment 6 Eclipse Genie CLA 2020-11-24 09:52:40 EST
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172755
Comment 7 Eclipse Genie CLA 2020-11-24 09:52:41 EST
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172756
Comment 8 Christian Damus CLA 2020-11-24 09:59:55 EST
The real Gerrit change is the one that has the Merge commit, not those referenced by the preceding seven comments:

https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/172757
Comment 16 Christian Damus CLA 2020-12-07 07:59:38 EST
The changes are merged to the feature branch bugs/568494-toolsmiths-dev.
Comment 24 Eclipse Genie CLA 2021-03-22 05:27:04 EDT
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/178177
Comment 25 Eclipse Genie CLA 2021-03-22 05:27:08 EDT
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/178179
Comment 26 Eclipse Genie CLA 2021-03-22 05:27:09 EDT
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/178181
Comment 27 Eclipse Genie CLA 2021-03-22 05:27:14 EDT
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/178178
Comment 28 Eclipse Genie CLA 2021-03-22 05:27:19 EDT
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus/+/178180