Eclipse Community Forums
Forum Search:

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


Current Time: Sat Apr 19 18:46:48 EDT 2014

Powered by FUDForum. Page generated in 0.02691 seconds