|Display an XML file in an XML editor, not in the default text editor [message #336847]
||Tue, 07 July 2009 21:10
Registered: July 2009
I am trying to display an XML file programmatically in Eclipse.
Everything is working fine except for the file being displayed as a simple
text file. Since it is an XML file I want it displayed in the XML editor
Right now I am opening the file as so:
It opens, but in the default text editor, not in the XML editor.
I notice that once I click on the newly created file in the project list
Eclipse can apparently see that it is an xml file and then decides to
display the file in the XML editor and not the basic text editor. So,
does anyone know the proper replacement ID that I need to give instead of
DEFAULT_TEXT_EDITOR_ID ? I searched and couldn't find any answer.
Powered by FUDForum
. Page generated in 0.05107 seconds