Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » contributing an editor action
contributing an editor action [message #39998] Tue, 05 September 2006 16:01 Go to next message
Eclipse UserFriend
Originally posted by: vcciubot.uwaterloo.ca

I'm using the following xml in my plugin.xml to contribute the OpenAction
to the editor toolbar. I don't see the action in the toolbar when I
restart the workbench.

Could anyone shed some light on how to use this extension point? Maybe I'm
using the wrong insertion point.

thank you
vlad

<extension point=" org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProviders ">
<contributionItemProvider
class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContribu tionItemProvider "
checkPluginLoaded="false">
<Priority name="Low"/>
<partContribution
class=" ca.uwaterloo.watform.bluenose2.diagram.part.Bluenose2Diagram Editor "
id="openDiagramAction">
<partAction
global="true"
id="OpenAction"
toolbarPath="additions"/>
</partContribution>
</contributionItemProvider>
</extension>
Re: contributing an editor action [message #41130 is a reply to message #39998] Wed, 06 September 2006 12:45 Go to previous message
Eclipse UserFriend
Originally posted by: vcciubot.uwaterloo.ca

For future reference, examples are found in plugin.xml of
org.eclipse.gmf.runtime.diagram.ui.providers_1.0.0.v20060627 -1200.jar

On Tue, 05 Sep 2006 16:01:19 -0400, Vlad Ciubotariu wrote:

> I'm using the following xml in my plugin.xml to contribute the OpenAction
> to the editor toolbar. I don't see the action in the toolbar when I
> restart the workbench.
>
> Could anyone shed some light on how to use this extension point? Maybe I'm
> using the wrong insertion point.
>
> thank you
> vlad
>
> <extension point=" org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProviders ">
> <contributionItemProvider
> class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContribu tionItemProvider "
> checkPluginLoaded="false">
> <Priority name="Low"/>
> <partContribution
> class=" ca.uwaterloo.watform.bluenose2.diagram.part.Bluenose2Diagram Editor "
> id="openDiagramAction">
> <partAction
> global="true"
> id="OpenAction"
> toolbarPath="additions"/>
> </partContribution>
> </contributionItemProvider>
> </extension>
Previous Topic:Editors that sharing the same model instance
Next Topic:How can I get an Impl from an EditPart
Goto Forum:
  


Current Time: Fri Jul 18 11:10:47 EDT 2025

Powered by FUDForum. Page generated in 0.07800 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top