|
Re: subclassing org.eclipse.wst.xmleditor? [message #197375 is a reply to message #197317] |
Thu, 01 March 2007 23:58 |
Ric Wright Messages: 70 Registered: July 2009 |
Member |
|
|
Well, to answer my own question, it looks like the blessed approach is
my setting the "editor configuration" extension point of the SSE
Structured Text Editor. However, the documentation on how to do this,
exactly, is vague at best. Like with a lot of Eclipse it consists of
"here's an API, now go read the code in the plugin". If anyone knows of
a clear example of how to use this extension point, I would appreciate
it. Thanks.
Ric Wright wrote:
> I have a number of XML-based files I would like to edit that don't have
> a normal "xml" extension (e.g. "opf"). Is it possible to extend the
> org.eclipse.wst.xmleditor to support:
> - different extensions
> - adding my own problems and markers (via IMarker)
> - using my own DTDs and schemas.
>
> I assume the answer is yes, but part of what I am trying to figure out
> is difficult it might be. I implemented a simple editor using the
> standard Eclipse XML editor in the template wizard, but it lacks most of
> the features of the WTP implementation. Of course, the ideal answer is
> yes, it's possible and a pointer to an example of how to do it. :-)
>
> Also, is this question and related ones more appropriately asked on the
> WTP newsgroup? Or is that intended for people actually building the WTP
> pieces?
>
> Thanks in advance, Ric Wright
|
|
|
|
Powered by
FUDForum. Page generated in 0.08118 seconds