Bug 461557 - Editor update needed after control/uncontrol moving representation concerning opened editors
Summary: Editor update needed after control/uncontrol moving representation concerning...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 3.0.0M6   Edit
Assignee: Steve Monnier CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 460351
Blocks:
  Show dependency tree
 
Reported: 2015-03-06 03:48 EST by Steve Monnier CLA
Modified: 2015-06-24 11:17 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 Steve Monnier CLA 2015-03-06 03:48:19 EST
+++ This bug was initially created as a clone of Bug #460351 +++

Controlling a semantic element that contains DRepresentation currently opened in editors should update these editors to avoid having to close/reopen them.
Note that in an older version, these editors were closed.
Comment 1 Eclipse Genie CLA 2015-03-06 04:35:45 EST
New Gerrit change created: https://git.eclipse.org/r/43287
Comment 3 Eclipse Genie CLA 2015-03-06 11:05:50 EST
New Gerrit change created: https://git.eclipse.org/r/43325
Comment 5 Maxime Porhel CLA 2015-03-06 11:28:19 EST
Steve, could you add some new swtbot tests to check the behavior of the goto marker navigation: 

Take a diagram whose VSM has a validation rule. 
Create en invalid model and validate the diagram. 

Test1: diagram open - double clic on the marker: the invalid element has to be selected
Test2: the same but when you double clic, the focus is set on another editor. 
Test3: diagram closed - double clic on the marker: the invalid element is selected after diagram opening
Test4: session closed then test 3.
Comment 6 Eclipse Genie CLA 2015-03-19 12:12:47 EDT
New Gerrit change created: https://git.eclipse.org/r/44188
Comment 7 Eclipse Genie CLA 2015-03-20 06:51:58 EDT
New Gerrit change created: https://git.eclipse.org/r/44234
Comment 9 Steve Monnier CLA 2015-03-20 09:31:32 EDT
During validation, use the sample from the first gerrit
- open a diagram
- control an element and add the diagram to the controlled representation
- validate that the diagram is still open and usable by creating a new element on it
- uncontrol and validate the same way
- repeat with a tree and a table representation
+ Validate the 4 tests about markers listed by Maxime in the fifth comment
Comment 10 Eclipse Genie CLA 2015-03-30 11:45:28 EDT
New Gerrit change created: https://git.eclipse.org/r/44860
Comment 12 Eclipse Genie CLA 2015-04-08 10:15:03 EDT
New Gerrit change created: https://git.eclipse.org/r/45465
Comment 14 Belqassim Djafer CLA 2015-04-14 03:59:45 EDT
Verified on Sirius 3.0.0M6
Comment 15 Pierre-Charles David CLA 2015-06-24 11:17:24 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.