Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » ContentAssist with AdditionalInfo in HTML format
ContentAssist with AdditionalInfo in HTML format [message #510042] Tue, 26 January 2010 05:31 Go to previous message
Xavier Coulon is currently offline Xavier Coulon
Messages: 58
Registered: July 2009
Member
Hello,

I'm working on a plugin for the WTP HTML editor. For now, this plugin provides just extra elements based on the Apache Tapestry web framework.
For each proposal, I want to display additional info based on the javadoc of the web framework components (if available).
Up to now, I've managed to generate the proposals and I can retrieve the javadoc in plain text or HTML format, using
JavadocContentAccess.getContentReader(component, true);


or
JavadocContentAccess.getHTMLContentReader(component, true, true);


Yet, the javadoc is not displayed as an HTML content, so all paragraphs (<p> tags) and links are lost, and the additional info is not very readable.
Actually, the CompletionProposal constructor only takes a String as a parameter for additionalInfo attribute, I haven't seen any switch to activate some HTML rendering.

Also, I've read on another thread that the JDT additional info uses the SWT Browser underneath to render the javadoc in HTML.


Does this feature exist in the context of WTP HTML editor ?

Thank you in advance
Regards,
Xavier
 
Read Message
Read Message
Read Message
Previous Topic:Can't get logfiles for tomcat 5.5
Next Topic:STDERR in red in eclipse for tomcat 5.5
Goto Forum:
  


Current Time: Tue May 21 21:24:54 EDT 2013

Powered by FUDForum. Page generated in 0.02147 seconds