Open
Conversation
Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
Implement UML 2.5.1 metamodel changes for Vertex/State redefinition hierarchy as specified in UMLR-685. Metamodel changes (UML.ecore): - Vertex now extends RedefinableElement - Add Vertex.redefinedVertex property (subsets redefinedElement) - Add Vertex.redefinitionContext (redefines RedefinableElement) - State.redefinedState is now derived from redefinedVertex - State no longer directly extends RedefinableElement (inherits via Vertex) Implementation (StateImpl.java): - Implement basicGetRedefinedState() to derive from redefinedVertex Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
- Register UML 5.1.0 namespace (http://www.eclipse.org/uml2/5.1.0/UML) - Register OMG UML 2.5.1 namespace (http://www.omg.org/spec/UML/20161101) - Resource factory and handler for UML 2.5.1 models
Contributor
Author
Contributor
|
The codestyle needs fixing. The existing code like most projects uses tab indentation. AFAIAA only EMF uses double-space indentation, which always causes me grief. For the UML2 project files we need to stick with tab indentation. After model generation I often find it necessary to:
I suggest finding where your double-space indentation comes from. Then we can probably ensure that the OOMPH setup gets it right. Once indentation is fixed we can hopefully compromise on brace usage and placement. |
This was referenced Jan 19, 2026
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
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.
Adds support for UML 2.5.1 namespace (http://www.omg.org/spec/UML/20161101) to Eclipse UML2.
Fixes #101
Background
UML 2.5.1 (published December 2017) is a maintenance release containing editorial corrections and errata fixes. The metamodel is unchanged from UML 2.5.0 - only the namespace identifier changed from 20131001 to 20161101.
Note: Metamodel changes like UMLR-685 (remove Extension::isRequired) and UMLR-696 (remove RedefinableElement::isLeaf default) are targeted for UML 2.6, not 2.5.1.
What This Enables