[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: ActionProvider not getting called

By clicking on the diagram node in hierarchy in project explorer.. Action provider is getting invoked. But when i right click on the diagram file(not the node) -default.mmd itself at top level without collapsing the hierarchy,again actionprovider is not called.

I have modified the trigger point and possible children values as below.(not sure if it is correct ) But still this action provider is not used. Will i have to use a different action provider for files.?

<triggerPoints>
<and>
<instanceof value="org.eclipse.core.resources.IFile"/>
<test property="org.eclipse.core.resources.extension" value="mmd"/>
</and>
</triggerPoints>
<possibleChildren>
<instanceof value="org.eclipse.gmf.runtime.notation.Diagram"/>
</possibleChildren>