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

Bug 481573

Summary: Provide an extensible mechanism to allow developers to customize the diagram tabbar
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: DiagramAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact: Laurent Redor <laurent.redor>
Severity: enhancement    
Priority: P3 CC: esteban.dugueperoux, laurent.redor
Version: 3.1.0Keywords: triaged
Target Milestone: 4.0.0M4   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/60581
https://git.eclipse.org/r/59944
https://git.eclipse.org/r/60787
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=548ff3598beccdc3ea64d5fb45bb875e97f906d6
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c79daf76b4b70387e65db6d32b8308013b6dac9c
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1f1c1d1e0171172cd6f17e7250e0ee7516b26280
https://git.eclipse.org/r/61890
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2f94f397ee2b04812353cdded6a49bafb8aebfe9
https://git.eclipse.org/r/69744
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=daf401adef38db2873e3f0abb87eff1528f955ec
https://git.eclipse.org/r/70662
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7cdab3ead9b8aba901db80b1fcb79fa8ff1270fd
https://git.eclipse.org/r/73717
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=da09a65df546121c269c2d68f36ba29ab3c5ad80
Whiteboard:

Description Florian Barbin CLA 2015-11-06 05:21:28 EST
It is currently possible for developers to add new actions in the Sirius tabbar by using the general eclipse extension point org.eclipse.ui.menus. This mechanism allows adding new actions after a group of existing Sirius actions. However, it is not possible to hide the default Sirius actions or to change their order. This evolution aims to provide a new Sirius extension point that will let developers to provide a specific tabbar items list according to the current selection.
Comment 1 Eclipse Genie CLA 2015-11-20 04:44:49 EST
New Gerrit change created: https://git.eclipse.org/r/60581
Comment 2 Eclipse Genie CLA 2015-11-20 04:45:01 EST
New Gerrit change created: https://git.eclipse.org/r/59944
Comment 3 Eclipse Genie CLA 2015-11-20 04:45:02 EST
New Gerrit change created: https://git.eclipse.org/r/60787
Comment 7 Florian Barbin CLA 2015-12-01 05:52:11 EST
Remaining work:

* Create a technical overview documentation about the current tabbar mechanism
Comment 9 Florian Barbin CLA 2015-12-07 09:58:34 EST
Fixed on master
Comment 10 Eclipse Genie CLA 2016-04-01 12:18:32 EDT
New Gerrit change created: https://git.eclipse.org/r/69744
Comment 12 Eclipse Genie CLA 2016-04-14 10:18:13 EDT
New Gerrit change created: https://git.eclipse.org/r/70662
Comment 14 Florian Barbin CLA 2016-05-24 10:56:04 EDT
To verify this issue, you can contribute to the extension point as it is done in the JUnit use case.
Comment 15 Eclipse Genie CLA 2016-05-26 08:21:10 EDT
New Gerrit change created: https://git.eclipse.org/r/73717
Comment 16 Laurent Redor CLA 2016-05-26 08:37:47 EDT
Verified on Sirius 4.0.0 RC1 (4.0.0.201605180923)

except a small modification in modification (gerrit https://git.eclipse.org/r/73717 for RC3)
Comment 18 Pierre-Charles David CLA 2016-06-24 08:03:18 EDT
Available in Sirius 4.0.0.