Changing file associations on the fly [message #17652] |
Sun, 27 April 2003 16:13 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: prlists.yahoo.com
Hi,
I need to set up file associations to an editor (which is part of my
plugin).
The file associations are given as extensions to an extension point i
define.
How associate files with these extensions to my editor?
thanks in advance
Lior
|
|
|
|
Re: Changing file associations on the fly [message #18565 is a reply to message #18477] |
Mon, 28 April 2003 12:30 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: prlists.yahoo.com
Thanks, but I know this method, it doesn't help since the editor passed to
it (by editorID) has to be associated to the given extension, this just sets
the *default* editor.
Actually it also says so in the API documentation.
I need the step before this one - setting up the association.
Any other ideas?
Lior
"Pascal Rapicault" <pascal_rapicault@yahoo.fr> wrote in message
news:b8hvnn$s23$1@rogue.oti.com...
> I never tried that but the method
>
> public void setDefaultEditor(String fileNameOrExtension,String
editorId)
>
> on
>
> IEditorRegistry should do it.
>
> PaScaL
>
> "Lior" <prlists@yahoo.com> a
|
|
|
Powered by
FUDForum. Page generated in 0.03939 seconds