v7.4.3
Changes in Sirius Desktop 7.4.3
User-Visible Changes
- Modified The pin behavior has been changed for edges.
- Before Sirius 7.4.3, the documentation stated that
it is not possible to pin/unpin edges or compartments.
. Nevertheless, it was possible to pin/unpin edges through the corresponding wizard (using thePin/Unpin
button provided by the tab bar when there is no element selected on the diagram). The default layout considered this status with different results according to the pinned status of source/target:- The edge, the source and the target are pinned: nothing moves during arrange all.
- The edge is not pinned and, the source and the target are pinned: the edge is arranged to keep only a minimum number of bendpoints.
- The edge is pinned and, source or/and target is not pinned: the source or the target is moved, so the corresponding extremity of the edge is also arranged (but the number of bendpoints is preserved). This combination can have strange results and is not recommended.
- Since Sirius 7.4.3:
- The
Pin status
button is enabled on edges. - The preference
Automatically mark moved elements as pinned
also affects edges. - The effect on the layout remains the same as before (see above description).
- The
- Before Sirius 7.4.3, the documentation stated that
Specifier-Visible Changes
- Modified When using ELK, the routing style of edges is now considered. It was ignored before. You can refer to the Use an ELK layout algorithm/Specific rules for routing style of edges for more details.
Developer-Visible Changes
Changes in org.eclipse.sirius.diagram.elk
- Added A system property
org.eclipse.sirius.diagram.elk.targetFolderPath
is now available to set the folder path where the diagram will be exported in «ELK Graph» format. Previously, this path was hard-coded to the Java temporary folder pathjava.io.tmpdir
(for example under Windows:%USER%\AppData\Local\Temp
). If this property is not set (or is invalid), the Java temporary folder is used. The value of this system property can contains variables names, like in the definition of the workspace data folder in a launch configuration. For example:${container_loc}
: Returns the absolute file system path of the session’s container (container of the AIRD * file),${project_loc}
: Returns the absolute file system path of a session’s project,- or
${workspace_loc}
: Returns the absolute file system path of the workspace root. - Warning: If you use a the «VM arguments» field in the launch configuration, you must replace the
"$"
by a"%"
to avoid a replacement of the variables during the launch (and not by ElkDiagramLayoutTracer during export).
- Modified The ELK debug capabilities have been improved and documented, see ELK Debug capabilities section for details.
Migrations
- Added A migration participant, EmptyJunctionPointsStringValueStyleMigrationParticipant, has been added to fix the GMF edges that contain an empty «junctionPoints» StringValueStyle. These empty «junctionPoints» StringValueStyle were created due to a bug in ELK./Sirius integration. This migration participant simply removes the empty «junctionPoints» StringValueStyle. As reminder, this migration participant has been introduced in Sirius 7.4.3. The corresponding version, stored in attribute version of viewpoint:DAnalysis of the aird file, is 15.4.3.202406261640.
Changes in org.eclipse.sirius.diagram
- Added The method
org.eclipse.sirius.diagram.tools.api.management.ToolManagement.hash(byte[])
has been added to generate a hash for IDs of Tools and ToolSections in Palette.
Issues and PRs Merged
- [releng] Bump version to 7.4.3 by @pcdavid in #423
- [176] Adapt SiriusDiagramActionBarContributor to avoid memory leak by @lredor in #177
- [333] Keep routing style with ELK by @lredor in #337
- Add new export action as text, add export folder option and improves Sirius Elk traces by @lredor in #349
- [doc] Update URLs still pointing to the old website address by @pcdavid in #354
- [411] Enable pin tabbar action on edges by @lredor in #413
- [428] Fix Palette Customization feature by @GlennPlou in #429
- [356] Fix Optional.orElseGet(null) leading to systematic error by @GlennPlou in #357
- [394] Add variables "diagram" and "view" during direct edit execution by @lredor in #395
- Consider DropDescription and PasteDescription tools of other diagrams by @lredor in #398
- [428] Fix PaletteViewManagementTest regression by @lredor in #433
- PR to fix several regressions detected by automatic tests by @lredor in #437
- [341] Adapt to GEF Classic 3.20/3.21 changes by @pcdavid in #342
- [439] Ensure compatibility with upcoming OCL 6.22 by @pcdavid in #440
- [341] Adapt to recent GEF Classic changes by @pcdavid in #444
Full Changelog: v7.4.2...v7.4.3