|editor display on menu [message #35211]
||Tue, 02 December 2008 17:06
Registered: July 2009
I have an editor defined within my plugin for a specific file type. I see
that when the user right clicks on the file type, my editor is listed in
the 'Open With' menu item. This is a feature that we get because of the
implementation of the 'OpenWithMenu' class within the
org.eclipse.ui.actions plugin. But I want my editor to be listed only when
the file is under a perticular kind of project. I followed a mail on this
group that mentioned the same issue and tried everything that it said, but
had no luck.
Has anyone tried this? Is there a way to change the behavior of the
default Open With action? Or is there something that we can do at the
editor side that would make the Open With menu class to not pick it up?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01198 seconds