Bug 508250

Summary: Changes in the VSM definition of properties view do not refresh the view automatically
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: PropertiesAssignee: Project Inbox <sirius.properties-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: florian.barbin
Version: 4.1.0Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Sample project to reproduce the bug none

Description Pierre-Charles David CLA 2016-11-27 12:00:49 EST
When editing a properties view definition from a VSM in the workspace, saving the VSM does not refresh the properties view of a Sirius representation already opened, contrary to what happens with normal Sirius dialects (at least in auto-refresh mode). Instead the specifier has to select an unrelated element on the representation and then re-select the previous one to see the change.
Comment 1 Pierre-Charles David CLA 2016-11-27 12:08:10 EST
Created attachment 265603 [details]
Sample project to reproduce the bug

Steps to reproduce:
1. Import the attached project.
2. Open the sample session and the diagram inside. Select the green class "A". In the properties view, its name is visible in a section titled "Name".
3. Open the VSM, and go to the Text widget definition.
4. Change the "Label Expression" from "Name" into something else, for example "Title". Save the VSM.
5. Go back to the diagram editor, with class "A" still selected. In its properties view, the section is still titled "Name" => KO
6. Select the diagram's background and then re-select "A": the section's title is now updated and shows the current definition from the VSM.