| Summary: | Under Windows, changing the diagram selection makes the tabbar redraw visible | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> |
| Component: | Diagram | Assignee: | Laurent Redor <laurent.redor> |
| Status: | CLOSED FIXED | QA Contact: | Laurent Redor <laurent.redor> |
| Severity: | major | ||
| Priority: | P2 | CC: | laurent.redor, maxime.porhel |
| Version: | 3.0.0 | Keywords: | triaged |
| Target Milestone: | 4.0.0M7 | ||
| Hardware: | PC | ||
| OS: | Windows All | ||
| See Also: |
https://git.eclipse.org/r/69402 https://git.eclipse.org/r/69435 https://git.eclipse.org/r/69880 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d2565e229e0b822e061beab83159c96394f31462 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2654f2c8594a2cd0ea94a28decaa6dacd3c926a1 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 491173 | ||
|
Description
Pierre-Charles David
Proposal to fix this bug is to let sirius manage the visibility of the IContributionItem instead of eclipse. Actually, the "animation" effect won't be fix but the visibility change will quick enough to reach an acceptable state. As it is done with TabbarFillerWithContributor the item are provided staticly. We let eclipse manage the visibility only for items contributed through org.eclipse.ui.menus extension point.(locationURI=toolbar:org.eclipse.sirius.diagram.ui.tabbar) We could remove TabbarFillerWithoutContributions and TabbarFillerWithContributions and enhance TabbarFillerWithContributor to manage the case where there is no ITabbarContributor. In that case, dofill method instanciate a DefaultTabbbarContributorImpl and add the items contributed with org.eclipse.ui.menus extension point. All the sirius item staticly added are not declared as org.eclipse.ui.menus any more. New Gerrit change created: https://git.eclipse.org/r/69435 New Gerrit change created: https://git.eclipse.org/r/69880 Gerrit change https://git.eclipse.org/r/69435 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d2565e229e0b822e061beab83159c96394f31462 Gerrit change https://git.eclipse.org/r/69402 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2654f2c8594a2cd0ea94a28decaa6dacd3c926a1 Fixed with 2 above commits. Verified on Sirius 4.0.0 RC1 (4.0.0.201605180923) Available in Sirius 4.0.0. |