Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:22 Go to next message
Alex Le is currently offline Alex LeFriend
Messages: 649
Registered: July 2009
Senior Member
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 08:14 Go to previous messageGo to next message
Nicole Schumacher is currently offline Nicole SchumacherFriend
Messages: 40
Registered: July 2009
Member
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 22:24 Go to previous message
Alex Le is currently offline Alex LeFriend
Messages: 649
Registered: July 2009
Senior Member
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: Thu Apr 25 10:13:50 GMT 2024

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

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

Back to the top