Community
Participate
Working Groups
Currently, the Port_NameLabel view imported from a compositestructure diagram contains an explicit set of the element that should not be there. A port name label is a DecorationNode that refer to the parent element, an explicit set of the element is confusing mainly whith inherited port (capability added in Papyrus RT).
New Gerrit change created: https://git.eclipse.org/r/90639
New Gerrit change created: https://git.eclipse.org/r/90727
it could be interessant to raise another bug for the Papyrus Importer inorder to avoid generating DecorationNode that refer to the element already refered by the parent shape in the other diagrams (SM, AD, etc.) I suppose that when we will test the importer for SM with the inheritence capability we will be facing the same pb : label not displayed for inherited elements. The fix will be the same fix that I propose here, the toLabel() mapping should inherits from the abstract toNodeLabel() mapping and not the toPapyrusNode() mapping that set the element.
(In reply to smaoui asma from comment #4) > it could be interessant to raise another bug for the Papyrus Importer > inorder to avoid generating DecorationNode that refer to the element already > refered by the parent shape in the other diagrams (SM, AD, etc.) > > I suppose that when we will test the importer for SM with the inheritence > capability we will be facing the same pb : label not displayed for inherited > elements. > > The fix will be the same fix that I propose here, the toLabel() mapping > should inherits from the abstract toNodeLabel() mapping and not the > toPapyrusNode() mapping that set the element. Regarding the import of state-machine diagrams, I have a feeling that there is a need for some more general testing of that, not only from the perspective of inheritance (and then specifically for UML-RT and Papyrus-RT regarding the layout inheritance). I myself have seen numerous issues with imported state-machine diagrams (see for example this mail thread on the Papyrus-RT developer mailing list https://dev.eclipse.org/mhonarc/lists/papyrus-rt-dev/msg01541.html) but have not had the time (or priority/focus) on testing import of state-machine diagrams. But I guess eventually that should be done as well.
Gerrit change https://git.eclipse.org/r/90727 was merged to [streams/2.0-maintenance]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=61cd1a1c51a3247567f1b715b36b5e0712630fb3
New Gerrit change created: https://git.eclipse.org/r/90829
Gerrit change https://git.eclipse.org/r/90829 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=f24831c8bd0ba393b99563427d5002b4dfef6059
Merged on both Neon and Oxygen.
New Gerrit change created: https://git.eclipse.org/r/91185
New Gerrit change created: https://git.eclipse.org/r/91254
Gerrit change https://git.eclipse.org/r/91185 was merged to [streams/2.0-maintenance]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=464212d3f5c6e6b5a67baac34916a1cf11b34290
Gerrit change https://git.eclipse.org/r/91254 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=e919751a728b13f15815a964a67b19ebc54b20bb