| Summary: | Tool ForceRefresh shall not refresh all diagrams | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Jessy Mallet <jessy.mallet> | ||||
| Component: | Diagram | Assignee: | Jessy Mallet <jessy.mallet> | ||||
| Status: | CLOSED FIXED | QA Contact: | Julien Dupont <julien.dupont> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | julien.dupont, laurent.redor, pierre.guilet | ||||
| Version: | 4.0.0 | Keywords: | triaged | ||||
| Target Milestone: | 5.1.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows NT | ||||||
| See Also: |
https://git.eclipse.org/r/99037 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c5e4b54aeb4049b929a08a69a641a7f4336563f3 |
||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 518793 | ||||||
| Attachments: |
|
||||||
New Gerrit change created: https://git.eclipse.org/r/#/c/99037/ Gerrit change https://git.eclipse.org/r/99037 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c5e4b54aeb4049b929a08a69a641a7f4336563f3 Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0. |
Created attachment 268793 [details] Test case to use. If forceRefresh on tool is enabled, it works as the AutomaticRefresh preference although it won't. The solution consists to differentiate automaticRefresh and forceRefresh behaviour : - ForceRefresh shall refresh the current diagram only - if enabled, AutomaticRefresh shall refresh all diagrams. Steps to reproduce: - import in your workspace the modeling project forceRefresh.zip, - open diagrams "firstDiag" and "secondDiag" - In Window>Preferences>Sirius, disable "Automatic Refresh" - set focus on firstDiag diagram and create a new Package - This newPackage should not occurs on the secondDiag diagram because this diagram should not be refresh.