You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.adoc
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,7 @@ Stakeholders are by default represented with a dedicated graphical node connecte
77
77
Standard libraries are now cached between tests to speed up editing context creation.
78
78
This feature can be de-activated by setting the property `org.eclipse.syson.test.cacheStandardLibraries` to `false` in `application.properties`.
79
79
The cache holding standard libraries can be invalidated for a specific test method or test class by using the `@InvalidateStandardLibrariesCache` annotation, ensuring the editing contexts are loaded from scratch.
80
+
- https://github.com/eclipse-syson/syson/issues/2154[#2154] [diagrams] Improve the _Duplicate Element_ diagram tool to support multi-selection in standard diagrams.
Copy file name to clipboardExpand all lines: backend/application/syson-application/src/test/java/org/eclipse/syson/application/controllers/diagrams/general/view/GVDuplicateNodeTest.java
Copy file name to clipboardExpand all lines: backend/application/syson-application/src/test/java/org/eclipse/syson/application/controllers/diagrams/testers/ToolTester.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,11 +77,15 @@ public void invokeTool(String editingContextId, AtomicReference<Diagram> diagram
Copy file name to clipboardExpand all lines: backend/application/syson-application/src/test/java/org/eclipse/syson/services/diagrams/DiagramDescriptionIdProvider.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,17 @@ public String getDiagramCreationToolId(String toolName) {
Copy file name to clipboardExpand all lines: backend/services/syson-diagram-services/src/main/java/org/eclipse/syson/diagram/services/DiagramMutationDiagramService.java
@@ -105,21 +110,61 @@ public Element createDiagram(Element element, IEditingContext editingContext, St
105
110
}
106
111
107
112
/**
108
-
* Duplicates the given element (with its owning Relationship) and exposes the duplicated element. Note that this method will do nothing on {@link org.eclipse.syson.sysml.Relationship}.
113
+
* Duplicates the given elements (with their owning Relationship) and exposes the duplicated elements. Note that
114
+
* this method will do nothing on {@link org.eclipse.syson.sysml.Relationship}.
Copy file name to clipboardExpand all lines: backend/services/syson-diagram-services/src/main/java/org/eclipse/syson/diagram/services/aql/DiagramMutationAQLService.java
Copy file name to clipboardExpand all lines: backend/views/syson-diagram-common-view/src/main/java/org/eclipse/syson/diagram/common/view/nodes/AbstractNodeDescriptionProvider.java
+ "selectedNodes->notEmpty() and selectedEdges->isEmpty() and self->forAll(e | e.oclIsKindOf(sysml::Element) and not e.oclIsKindOf(sysml::Relationship))")
Copy file name to clipboardExpand all lines: backend/views/syson-standard-diagrams-view/src/main/java/org/eclipse/syson/standard/diagrams/view/SDVDiagramDescriptionProvider.java
.preconditionExpression("aql:selectedNodes->notEmpty() and selectedEdges->isEmpty() and self->forAll(e | e.oclIsKindOf(sysml::Element) and not e.oclIsKindOf(sysml::Relationship))")
Copy file name to clipboardExpand all lines: doc/content/modules/user-manual/pages/release-notes/2026.5.0.adoc
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ image::release-notes-stakeholder-node.png[Default representation of Stakeholder
37
37
** Improve the tool to create a `Subject` graphical node by making specialization selection optional.
38
38
** Improve the tool to create a `FlowUsage` from a `ConnectionUsage` by making the payload selection optional.
39
39
** Merge the two objective creation tools into a single tool by leveraging the updated selection dialog which make the specialization selection optional.
40
+
** Improve the _Duplicate Element_ tool to support multi-selection in standard diagrams.
0 commit comments