Bug 508250 - Changes in the VSM definition of properties view do not refresh the view automatically
Summary: Changes in the VSM definition of properties view do not refresh the view auto...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Properties (show other bugs)
Version: 4.1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-11-27 12:00 EST by Pierre-Charles David CLA
Modified: 2016-12-22 09:38 EST (History)
1 user (show)

See Also:


Attachments
Sample project to reproduce the bug (2.74 KB, application/zip)
2016-11-27 12:08 EST, Pierre-Charles David CLA
no flags Details

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