[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Embedding wst/sse xml editor into a Composite

David ddodd wrote:
I would like to use the existing XML editor from SSE/WTP inside my custom editor part.

I would like to use the existing ability to:
Validate the XML with DTD's etc...
Use existing code assists/templates
syntax color highlighting

I would like avoid:
Re-implementing all of the above features.

Is there a direction I can go that someone can recommend?

In my own experience, getting any editor to work within an arbitrary Composite simply is very difficult. You might want to investigate the MultiPageEditorPart hierarchy and how it manages a somewhat similar task, as well as some of the uses of the StructuredTextViewer directly.


--
Nitin Dahyabhai
Structured Source Editing