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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,8 @@ Disabling the _Hide expression internals_ filter in the _Explorer_ view allows t
45
45
One creates a `ConcernUsage` and another one creates `FramedConcernMembership`.
46
46
- https://github.com/eclipse-syson/syson/issues/2097[#2097] [explorer] Add support for creating and editing exressions through their textual representation.
47
47
This is currently supported on `Features` (e.g. `Attribute`), `Constraints` and `Transitions` (guard conditions) view new context menu actions (_Create expression_ and _Edit expression_) on the corresponding elements in the _Explorer_.
48
+
- https://github.com/eclipse-syson/syson/issues/2247[#2247] [diagrams] Add the support for creating _timeslices/snapshots_ from the different kind of `OccurrenceDefiniton` graphical nodes.
49
+
It leverages the selection dialog to either create an _occurrence timeslice/snapshot_, or the _usage timeslice/snapshot_ matching the `OccurrenceDefinition` on which the tool is applied.
Copy file name to clipboardExpand all lines: backend/application/syson-application/src/test/java/org/eclipse/syson/application/controllers/diagrams/general/view/GVTimesliceSnapshotNodeCreationTests.java
Copy file name to clipboardExpand all lines: backend/application/syson-application/src/test/java/org/eclipse/syson/application/data/GeneralViewWithTopNodesTestProjectData.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ public static class GraphicalIds {
Copy file name to clipboardExpand all lines: backend/services/syson-model-services/src/main/java/org/eclipse/syson/model/services/aql/ModelMutationAQLService.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,6 @@
21
21
importorg.eclipse.syson.sysml.Documentation;
22
22
importorg.eclipse.syson.sysml.Element;
23
23
importorg.eclipse.syson.sysml.Membership;
24
-
importorg.eclipse.syson.sysml.OccurrenceUsage;
25
24
importorg.eclipse.syson.sysml.PartUsage;
26
25
importorg.eclipse.syson.sysml.RequirementUsage;
27
26
importorg.eclipse.syson.sysml.Type;
@@ -95,9 +94,9 @@ public Element createSatisfyRequirement(Element self, Element selectedObject) {
Copy file name to clipboardExpand all lines: backend/services/syson-sysml-metamodel-services/src/main/java/org/eclipse/syson/sysml/metamodel/services/MetamodelMutationElementService.java
@@ -212,17 +213,17 @@ public InterfaceUsage createInterfaceUsage(PortUsage source, PortUsage target, E
212
213
}
213
214
214
215
/**
215
-
* Creates an instance of {@code eClass} in the given {@link OccurrenceUsage} container.
216
-
* <p>It returns {@code null} if the {@code eClass} is not assignable to {@link OccurrenceUsage}</p>
216
+
* Creates an instance of {@code eClass} in the given {@link Type} container if it is an {@link OccurrenceUsage} or an {@link OccurrenceDefinition}.
217
+
* <p>It returns {@code null} if the {@code eClass} is not assignable to {@link OccurrenceUsage} or the {@code container} is not assignable to either @link OccurrenceUsage} or {@link OccurrenceDefinition}</p>
217
218
*
218
219
* @param container
219
-
* the {@link OccurrenceUsage} container
220
+
* the {@link Type} container
220
221
* @param eClass
221
222
* the {@link EClass} assignable to {@link OccurrenceUsage} to instantiate
222
-
* @return a new {@link EClass} instantiated {@link EObject}, {@code null} if the {@code eClass} is not assignable to {@link OccurrenceUsage}
223
+
* @return a new {@link EClass} instantiated {@link EObject}, {@code null} if the {@code eClass} is not assignable to {@link OccurrenceUsage} and the {@code container} is not assignable to either {@link OccurrenceUsage} or {@link OccurrenceDefinition}
Copy file name to clipboardExpand all lines: backend/views/syson-diagram-common-view/src/main/java/org/eclipse/syson/diagram/common/view/services/ViewToolService.java
Copy file name to clipboardExpand all lines: backend/views/syson-diagram-common-view/src/main/java/org/eclipse/syson/diagram/common/view/tools/OccurrenceUsageSnapshotNodeToolProvider.java
Copy file name to clipboardExpand all lines: backend/views/syson-diagram-common-view/src/main/java/org/eclipse/syson/diagram/common/view/tools/OccurrenceUsageTimesliceNodeToolProvider.java
Copy file name to clipboardExpand all lines: backend/views/syson-standard-diagrams-view/src/main/java/org/eclipse/syson/standard/diagrams/view/services/SDVNodeToolSectionSwitch.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -402,6 +402,8 @@ public List<NodeToolSection> caseInterfaceDefinition(InterfaceDefinition object)
0 commit comments