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
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,7 @@ Other representations will follow the same patterns.
186
186
Those new APIs and constants are still subject to various changes but once the API will be stable, existing variables will be marked as deprecated.
187
187
New variables will only be available thanks to the new API such as `DiagramVariables.SELECTED_NODES` or `DiagramVariables.SELECTED_EDGES` for group tools.
188
188
The current constants and the new ones can be mixed without issues.
189
+
- https://github.com/eclipse-sirius/sirius-web/issues/6047[#6047] [core] The method `IRepresentationEventProcessor#refresh` will be removed and it will be replaced by dedicated stateless services implementing `IRepresentationRefresher`
189
190
190
191
191
192
=== Breaking changes
@@ -307,6 +308,9 @@ The workbench view ID is now `related-views`.
307
308
`PublishLibrariesInput#projectId` has been replaced with `PublishLibrariesInput#editingContextId`.
308
309
Note that the namespace of published libraries from studios still matches the `projectId` of the published studio.
309
310
- [sirius-web] The method signature of `IRepresentationContentMigrationService#getMigratedContent` has been modified to take individual parameters (`String representationContent, String kind, String lastMigrationPerformed, String migrationVersion`) instead of domain objects (`RepresentationMetadata representationMetadata, RepresentationContent representationContent`).
311
+
- https://github.com/eclipse-sirius/sirius-web/issues/6047[#6047] [charts] The mutable class `HierarchyContext` has been transformed into an immutable record.
312
+
The service `HierarchyCreationService` is now implementing an interface `IHierarchyCreationService` and its two methods `HierarchyCreationService#create` and `HierarchyCreationService#render` have been merged into a single method with a new signature `IHierarchyCreationService#create`.
313
+
This will be used as an inspiration for the evolution of other similar services like `DiagramCreationService`.
310
314
311
315
312
316
=== Dependency update
@@ -444,6 +448,11 @@ The only difference is that this new marker has a second range of two dots after
444
448
Downstream applications can now implement `IUndoRedoIgnoreInputPredicate` to ignore additional inputs from the `UndoRedoRecorder`.
445
449
- https://github.com/eclipse-sirius/sirius-web/issues/6027[#6027] [diagram] Improve visual feedback when dragging a node to show which targets are compatible/valid/invalid for a drop
446
450
- https://github.com/eclipse-sirius/sirius-web/issues/6113[#6113] [core] Allow the customization of the workbench configuration
451
+
- https://github.com/eclipse-sirius/sirius-web/issues/6032[#6032] [diagram] Ensure edge handles on border nodes are placed opposite their anchor point
452
+
- https://github.com/eclipse-sirius/sirius-web/issues/6047[#6047] [charts] Perform the refresh of the hierarchy representation outside of its representation event processor.
453
+
To perform the refresh of the representation event processor, an instance of `IRepresentationRefresher` will be required.
454
+
A new method `IHierarchyEventProcessor#updateState` is available to update the state of the hierarchy event processor and publish a new hierarchy to the subscribers.
Copy file name to clipboardExpand all lines: packages/charts/backend/sirius-components-collaborative-charts/src/main/java/org/eclipse/sirius/components/collaborative/charts/CreateHierarchyEventHandler.java
Copy file name to clipboardExpand all lines: packages/charts/backend/sirius-components-collaborative-charts/src/main/java/org/eclipse/sirius/components/collaborative/charts/HierarchyCreationService.java
Copy file name to clipboardExpand all lines: packages/charts/backend/sirius-components-collaborative-charts/src/main/java/org/eclipse/sirius/components/collaborative/charts/HierarchyEventProcessor.java
0 commit comments