[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: How to disable the rightclick menu on FileResource
|
I've open a new PR with your suggestion. It will be evaluated by the UI team
and decided if a change is required or not.
Simon :-)
"Soonthorn Ativanichayaphong" <soonthor@xxxxxxxxxx> wrote in message
news:3B55CD1F.A9FFE84D@xxxxxxxxxxxxx
> Here is a comment on error messages.
> --------
> The wording of the message led me to believe there was a problem and not
that
> there wasn't a viewer registered. I would think that the message could be
> reworded to state the problem a little better (no viewer registered,
etc..). A
> better solution, if possible, would be to do it like the OS does - pop up
a
> dialog and let them select the viewer.
> ----------
> What do you think?
>
>
> Simon Arsenault wrote:
>
> > The message is informing you that on this machine, there is no external
> > editor registered for the file type. However, it could very well be
another
> > machine would have one. So if we allowed the external editor menu option
to
> > be disabled, it would prevent users from accessing the external editor
on
> > machines where one exist for the file type.
> >
> > Choosing "Open With > External Editor" allows the user to open the same
> > editor as would be opened if they went to the file system and double
clicked
> > on the file.
> >
> > Was there a problem with the message being displayed? (i.e. are users
> > complaining about it...if so, about what?) Or did choosing this menu
option
> > cause other problems beside the message being displayed?
> >
> > Simon :-)
> >
> > "Soonthorn Ativanichayaphong" <soonthor@xxxxxxxxxx> wrote in message
> > news:3B54878C.E37A3A1B@xxxxxxxxxxxxx
> > > 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.
> > > > >
> > >
>