Implementing additional content assist proposals in xml editor [message #215027] |
Mon, 09 June 2008 21:54 |
Abel Mui Messages: 247 Registered: July 2009 |
Senior Member |
|
|
When creating an XML editor, it is possible to customize the
IContentAssistProcessors used.
I would like to configure the content assist processors to provide a set
of text values in addition to the normal tag and template propposals,
depending on the enclosing tag (and its possition in the tree).
For instance
<shop>
<fruits>
<name> <!-- Shows apple, orange, ... --> </name>
</fruits>
<drinks>
<name> <!-- Shows cola, juice, ... --> </name>
</drinks>
</shop>
However, the XMLContentAssistProcessor and related classes are internal
on WTP 2.x. So what's the recommended approach to have all the standard
content assist suggestions and the custom ones?
Thanks!
Abel Muiño.
|
|
|
Powered by
FUDForum. Page generated in 0.03092 seconds