Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 518793

Summary: Tool ForceRefresh shall not refresh all diagrams
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Jessy Mallet <jessy.mallet>
Status: CLOSED FIXED QA Contact: Guillaume Doux <guillaume.doux>
Severity: normal    
Priority: P3 CC: guillaume.doux, jessy.mallet, laurent.redor, pierre.guilet
Version: 4.0.0Keywords: triaged
Target Milestone: 4.1.6   
Hardware: PC   
OS: Windows NT   
See Also: https://git.eclipse.org/r/100151
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c61820a12bf3a26bfbc19d6befb01a3e90ba3f44
Whiteboard:
Bug Depends on: 517956    
Bug Blocks:    

Description Laurent Redor CLA 2017-06-26 12:19:42 EDT
+++ This bug was initially created as a clone of Bug #517956 +++

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.
Comment 1 Eclipse Genie CLA 2017-06-27 11:46:15 EDT
New Gerrit change created: https://git.eclipse.org/r/100151
Comment 3 Guillaume Doux CLA 2017-06-30 12:05:33 EDT
Validated with Sirius 4.1.6-S20170628-064814
Comment 4 Pierre-Charles David CLA 2017-07-07 07:25:17 EDT
Available in Sirius 4.1.6, see https://wiki.eclipse.org/Sirius/4.1.6 for details.