-
-
Notifications
You must be signed in to change notification settings - Fork 216
Move Element class to UML model #3571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9837fc4
to
c618aed
Compare
c618aed
to
28d2738
Compare
Fixed import issues. Except for architecture and model generation tests.
77788f9
to
58c6f16
Compare
fc7d921
to
e5da5d6
Compare
7a2ae78
to
4a5b97c
Compare
Make stereotype extraction a bit more lenient, so it also works with the core diagram. Fixed diagram reference for drop dispatch function.
4a5b97c
to
356bcf1
Compare
6 tasks
danyeaw
approved these changes
Nov 24, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look great, thanks @amolenaar!
This was referenced Nov 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Element
was part of the Core model. This made it sort of a prerequisite for any other modeling language, including SysML2.Issue Number: #3540
What is the new behavior?
The Element class and its relations have been moved to the UML model. Now the core model contains only some core concepts: Diagrams, change sets.
To make it work, Diagram is inherited in the UML model and enriched with Element as a base class. That way it can be placed nicely in the model browser and keeps the ability to be stereotyped.
Does this PR introduce a breaking change?
Other information
Presentation.subject
points toBase
, instead ofElement
.UML.Diagram
, instead ofCore.Diagram
.