[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: How to disable the rightclick menu on FileResource

Hi Simon,

Let's say one of my plugin extends TextEditor. I have some problems trying to
open it with "System Editor" under "Open With" menu. Window Error message is
Unable to open external editor for <filename>....

So I'd like to disable this "OpenWtih ->System Editor" for the specific file
extension.


Simon Arsenault wrote:

> The right click popup menu on a file resource cannot be disabled. Any plugin
> can contribute items to this menu so it cannot be controlled by one plugin.
>
> Also, the Open With sub-menu of the popup cannot be disabled. Again, other
> plugins can "contribute" to this sub-menu by registering editors for various
> file types.
>
> What are you trying to accomplish? Maybe if you described the problem you
> are trying to solve we could provide other possible solutions.
>
> Simon :-)
>
> "Soonthorn Ativanichayaphong" <soonthor@xxxxxxxxxx> wrote in message
> news:9ivkj8$3j4$1@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > Anyone know how to disable the right-click menu on the file resource
> > (Open With menu). What method should I override? Thanks in advance...
> >
> > Soonthorn A.
> >