[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: contributing an editor action
|
- From: Vlad Ciubotariu <vcciubot@xxxxxxxxxxxx>
- Date: Wed, 06 Sep 2006 12:45:39 -0400
- Newsgroups: eclipse.modeling.gmf
- Organization: EclipseCorner
- User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))
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>