Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #442761 +++ In our use case of Sirius, a DDiagram is locked by using a permission authority. In this case Pin/Unpin, Show/Hide, Filter, Layers and Arrange actions should be disabled.
Cloned from bug #442761 to backport the fix into Sirius 2.0.3.
Here are commits to backport in order: 5075f9e43f7688dac3bf4c3df14972d1e5043042 [442761] Add comment about regression due to commit 1077eea 59fa392fad179ef1d128b9989d906c6f6fc6fe1e [442761] Disable tab bar actions when a DDiagram is not editable 9f580e416b3072893c546ad3c8da33bc81bb4278 [442761] fix LockedTabBarTest.checkEnabledWithSelectedElement()
5075f9e43f7688dac3bf4c3df14972d1e5043042 already exists on v2.0.x as it is a commit common to v2.0.x and to master. https://git.eclipse.org/r/39491 created to backport 59fa392fad179ef1d128b9989d906c6f6fc6fe1e merged on v2.0.x as 31de137b641c8ba8914648ef20411d80b6d44637 https://git.eclipse.org/r/#/c/39492/ created to backport 9f580e416b3072893c546ad3c8da33bc81bb4278 merged on v2.0.x as be89d0f00472d00330a12489d97f3d183399f7b4
Not completely fixed When user1 locks the diagram, user2 can still expand the menu and access the ArrangeAll and ArrangeAllBorderNodes commands until user2 click in the diagram. Note that the other menus like filter or layer and disabled
The situation is better but this issue needs to be reopen. Correction needs to be done on master in Bug 442761 and then backported here.
New Gerrit change created: https://git.eclipse.org/r/42920
Gerrit change https://git.eclipse.org/r/42920 was merged to [v2.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=605aa47e0135f5f4c83991363a875fe8cb7dc20b
Fixed by MLA
Verified on Sirius 2.0.5 [1] [1] http://download.eclipse.org/sirius/updates/stable/2.0.5-S20150321-000123
Available in Sirius 2.0.5.