Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Finding out all editors available given a file type/extension?
Finding out all editors available given a file type/extension? [message #305046] Thu, 22 June 2006 03:22 Go to next message
Eclipse UserFriend
Hi,

In Eclipse I can do "Preferences->General->Editors->File Associations"
and select a file extension to find out all the editors available for
that file type, as well as the default one set.

How is that done? Could someone please point me the code where Eclipse
does this?

Thanks.
Re: Finding out all editors available given a file type/extension? [message #305048 is a reply to message #305046] Thu, 22 June 2006 04:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

look in the method fillEditorTable() in the class
FileEditorsPreferencePage:
http://www.koders.com/java/fidF0084BE63F3149BDB9B21D312028E2 5376599202.aspx

There is the code about the available editors in the preferences.

nicole

AL wrote:
> Hi,
>
> In Eclipse I can do "Preferences->General->Editors->File Associations"
> and select a file extension to find out all the editors available for
> that file type, as well as the default one set.
>
> How is that done? Could someone please point me the code where Eclipse
> does this?
>
> Thanks.
Re: Finding out all editors available given a file type/extension? [message #305112 is a reply to message #305048] Thu, 22 June 2006 18:24 Go to previous message
Eclipse UserFriend
Nicole Schumacher wrote:

> Hi,
>
> look in the method fillEditorTable() in the class
> FileEditorsPreferencePage:
> http://www.koders.com/java/fidF0084BE63F3149BDB9B21D312028E2 5376599202.aspx
>
> There is the code about the available editors in the preferences.
>
> nicole
>
> AL wrote:
>
>> Hi,
>>
>> In Eclipse I can do "Preferences->General->Editors->File Associations"
>> and select a file extension to find out all the editors available for
>> that file type, as well as the default one set.
>>
>> How is that done? Could someone please point me the code where
>> Eclipse does this?
>>
>> Thanks.

Thanks!
Previous Topic:menubarPath for "Run As" popup menu?
Next Topic:Redo menu item not displayed in AbstractTextEditor
Goto Forum:
  


Current Time: Sun Jul 27 07:04:22 EDT 2025

Powered by FUDForum. Page generated in 0.03926 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top