Bug 518793 - Tool ForceRefresh shall not refresh all diagrams
Summary: Tool ForceRefresh shall not refresh all diagrams
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 4.0.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 4.1.6   Edit
Assignee: Jessy Mallet CLA
QA Contact: Guillaume Doux CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 517956
Blocks:
  Show dependency tree
 
Reported: 2017-06-26 12:19 EDT by Laurent Redor CLA
Modified: 2017-07-07 07:25 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.