[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: contributing an editor action

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.contributionItemProviders">
>       <contributionItemProvider
>             class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContributionItemProvider"
>             checkPluginLoaded="false">
>          <Priority name="Low"/>
>          <partContribution
>                class="ca.uwaterloo.watform.bluenose2.diagram.part.Bluenose2DiagramEditor"
>                id="openDiagramAction">
>             <partAction
>                   global="true"
>                   id="OpenAction"
>                   toolbarPath="additions"/>
>          </partContribution>
>       </contributionItemProvider>
>    </extension>