|
Re: Forcing StructuredTextEditor to recognize XML [message #906138 is a reply to message #905568] |
Fri, 31 August 2012 17:25 |
|
Associating the same classes used with the org.eclipse.wst.sse.ui.editorConfiguration extension point in org.eclipse.wst.xml.ui (www.eclipse.org/webtools/wst/components/sse/designs/EditorConfiguration.html) will make sure the editor page behaves as desired for a IStructuredModel containing XML, though without the file being reported as the XML content type (or our "broken" XML content type), the model can not be built.
The expectation when dealing with IFiles is that the (now deprecated) org.eclipse.core.filebuffers.documentCreation extension point will allow us to provide our structured document instance when the file is read into a file buffer, something that only happens if the file's content type matches. Everything starts there, even our headless support.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 1.02784 seconds