|Re: Add action to external editors [message #555950 is a reply to message #555905]
||Mon, 30 August 2010 10:58
Registered: July 2009
Please let me know if there are any pointers for this.
Thanks in advance,
> I am working on an application in which I need to add an action to
> context menu of editor. However, this action should be visible only for
> external editors (i.e. for editing files which are external to the
> In my plugin, plugin.xml file if I use,
> objectClass="org.eclipse.core.resources.IResource", this action is
> visible and enabled in context menu of internal editors only.
> If objectClass="org.eclipse.ui.IEditorInput" is used, the action is
> visible and enabled in context menu of both internal and external editors.
> Following is the code snipppet of plugin.xml for my plug-in.
> label="Action Label"
> tooltip="Action Tooltip">
> I am not able to find any hints on how to show the action in context
> menu of external editors only.
> Any suggestions would be of great help.
Powered by FUDForum
. Page generated in 0.14190 seconds