Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Implementing additional content assist proposals in xml editor
Implementing additional content assist proposals in xml editor [message #215027] Mon, 09 June 2008 21:54
Abel Mui is currently offline Abel MuiFriend
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.
Previous Topic:Extending JSDT for JavaScript Library
Next Topic:WTP UX Whiteboard
Goto Forum:
  


Current Time: Thu Sep 19 10:57:41 GMT 2024

Powered by FUDForum. Page generated in 0.03957 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top