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

Bug 475824

Summary: Palette is not updated after viewpoint selection change
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: CLOSED FIXED QA Contact: Pierre-Charles David <pierre-charles.david>
Severity: normal    
Priority: P3 CC: belqassim.djafer, laurent.fasani, laurent.redor
Version: unspecifiedKeywords: triaged
Target Milestone: 3.0.1   
Hardware: PC   
OS: Windows 8   
See Also: https://git.eclipse.org/r/54497
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=27d55f94ccbad5201279b9a445dfae933c9fc272
Whiteboard:
Bug Depends on: 467512    
Bug Blocks:    

Description Pierre-Charles David CLA 2015-08-25 10:42:09 EDT
+++ This bug was initially created as a clone of Bug #467512 +++

When a viewpoint is deselected from the 'viewpoint selection' dialog the palette still displays the tools related to the freshly deselected viewpoint.

To reproduce:
1- Import the attached projects.
2- On 'test' project, ensure that the both viewpoints (others and persons)are enabled.
3- Create a new persons diagram.
4- On the created presentation, check the 'others' Layer and ensure that 'createWoman' tool is appeared on the palette.
5- deselect the 'others' viewpoint from the viewpoint selection dialog.
6- KO -> the palette still displays the tools related to 'others' viewpoint.
Comment 1 Pierre-Charles David CLA 2015-08-25 10:42:33 EDT
Cloned to backport the fix in Sirius 3.0.1.
Comment 2 Eclipse Genie CLA 2015-08-25 10:51:50 EDT
New Gerrit change created: https://git.eclipse.org/r/54497
Comment 4 Pierre-Charles David CLA 2015-09-02 04:14:32 EDT
Fixed 27d55f94ccbad5201279b9a445dfae933c9fc272.
Comment 5 Pierre-Charles David CLA 2015-09-07 04:11:08 EDT
Verified in 3.0.1.201509020834 (part of Mars.1 RC2 modeling package).
Comment 6 Pierre-Charles David CLA 2015-09-07 04:11:57 EDT
Verified in 3.0.1.201509020834 (part of Mars.1 RC2 modeling package).
Comment 7 Pierre-Charles David CLA 2015-12-15 05:22:31 EST
Available in Sirius 3.0.1 released on 2015-09-10.