Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Barbin2015-12-03 16:11:11 +0000
committerFlorian Barbin2015-12-07 08:16:38 +0000
commit2f94f397ee2b04812353cdded6a49bafb8aebfe9 (patch)
tree7dacab7d86ddb0e13445e8d5c702003c54483478
parentbe74fcb0f4bbd069b63fe165e724148396aaaf15 (diff)
downloadorg.eclipse.sirius-2f94f397ee2b04812353cdded6a49bafb8aebfe9.tar.gz
org.eclipse.sirius-2f94f397ee2b04812353cdded6a49bafb8aebfe9.tar.xz
org.eclipse.sirius-2f94f397ee2b04812353cdded6a49bafb8aebfe9.zip
[481573] Completes the tab-bar extension documentation
Bug: 481573 Change-Id: Iad0b3b59a98fa472e94e296686fdfee751cb1f46 Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.html7
-rw-r--r--plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.textile4
2 files changed, 6 insertions, 5 deletions
diff --git a/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.html b/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.html
index 97cee60acb..8c672e5bca 100644
--- a/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.html
+++ b/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.html
@@ -187,14 +187,15 @@ public class SampleTestTabbarExtensionActivationPropertyTester extends PropertyT
<img border="0" src="images/tabbar_extension_result.png"/>
</p>
<h2 id="Contributeafullcustomizedtabbar">Contribute a full customized tab-bar</h2>
- <p>Sirius lets the possibility to contribute an entire customized tabbar. To do so, the developer has to contribute an
+ <p>Sirius lets the possibility to contribute an entire customized tab-bar. To do so, the developer has to contribute an
<code>org.eclipse.sirius.diagram.ui.tools.api.editor.tabbar.ITabbarContributor</code> to the
<code>org.eclipse.sirius.diagram.ui.tabbarContributor</code> extension-point. An abstract implementation of
<code>ITabbarContributor</code> exists:
- <code>org.eclipse.sirius.diagram.ui.tools.api.editor.tabbar.AbstractTabbarContributor</code>. This implementation contains protected methods that allows creating one or several contributions of the default Sirius tabbar.
+ <code>org.eclipse.sirius.diagram.ui.tools.api.editor.tabbar.AbstractTabbarContributor</code>. This implementation contains protected methods that allows creating one or several contributions of the default Sirius tab-bar. See the
+ <a href="../user/diagrams/Diagrams.html#ref_tabbar">Tab-bar</a> section in user manual for more details about each items.
</p>
<p>here is an example of
- <code>ITabbarContributor</code> implementation:
+ <code>ITabbarContributor</code> implementation. This sample provides two different tab-bar whether the selection is done on a diagram element (a Node or a Container for instance) or on the diagram (no specific selection). If the selection is done on an Edge, the tab-bar will be empty since the sample doesn&#8217;t return any contributionItem.
</p>
<pre><code>public class TestTabbarExt extends AbstractTabbarContributor {
diff --git a/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.textile b/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.textile
index e2363c5884..9207e51db4 100644
--- a/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.textile
+++ b/plugins/org.eclipse.sirius.doc/doc/developer/extensions-provide_tabbar_extensions.textile
@@ -162,9 +162,9 @@ p. The a new button is added to the tab-bar only when the selection contains an
h2. Contribute a full customized tab-bar
-Sirius lets the possibility to contribute an entire customized tabbar. To do so, the developer has to contribute an @org.eclipse.sirius.diagram.ui.tools.api.editor.tabbar.ITabbarContributor@ to the @org.eclipse.sirius.diagram.ui.tabbarContributor@ extension-point. An abstract implementation of @ITabbarContributor@ exists: @org.eclipse.sirius.diagram.ui.tools.api.editor.tabbar.AbstractTabbarContributor@. This implementation contains protected methods that allows creating one or several contributions of the default Sirius tabbar.
+Sirius lets the possibility to contribute an entire customized tab-bar. To do so, the developer has to contribute an @org.eclipse.sirius.diagram.ui.tools.api.editor.tabbar.ITabbarContributor@ to the @org.eclipse.sirius.diagram.ui.tabbarContributor@ extension-point. An abstract implementation of @ITabbarContributor@ exists: @org.eclipse.sirius.diagram.ui.tools.api.editor.tabbar.AbstractTabbarContributor@. This implementation contains protected methods that allows creating one or several contributions of the default Sirius tab-bar. See the "Tab-bar":../user/diagrams/Diagrams.html#ref_tabbar section in user manual for more details about each items.
-here is an example of @ITabbarContributor@ implementation:
+here is an example of @ITabbarContributor@ implementation. This sample provides two different tab-bar whether the selection is done on a diagram element (a Node or a Container for instance) or on the diagram (no specific selection). If the selection is done on an Edge, the tab-bar will be empty since the sample doesn't return any contributionItem.
bc..
public class TestTabbarExt extends AbstractTabbarContributor {

Back to the top