Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Setting a default editor
Setting a default editor [message #218065] Tue, 30 March 2004 06:12
Eclipse UserFriend
Hi,

Is there any way to set a default editor programatically for a file or
extension. IEditorRegistry.SetDefaultEditor seems to do this but only when
using the IFile argument and in this case the file icon is not updated. If
using the method with the String argument the default editor is set only if
the filename or extension has already assigned a default editor.

Another way would be to programatically register an editor. Is this
possible?

Any help would be appreciated.

Jose M Beleta
Previous Topic:European Eclipse M8 Win Users
Next Topic:Problem with icons when exporting
Goto Forum:
  


Current Time: Thu May 15 10:40:58 EDT 2025

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

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

Back to the top