Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Adding custom hovertext to JSP Editor
Adding custom hovertext to JSP Editor [message #546953] Wed, 14 July 2010 17:43 Go to next message
Ultros is currently offline UltrosFriend
Messages: 1
Registered: July 2010
Junior Member
I'd like to implement custom hover messages when editing JSPs. I know how to get the behaviour I want if I create my own TextEditor and use that to edit a JSP; what do I need to do in order to add this behaviour to Eclipse's JSP Editor?
Re: Adding custom hovertext to JSP Editor [message #547602 is a reply to message #546953] Mon, 19 July 2010 06:17 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2342
Registered: July 2009
Senior Member
On 7/14/2010 1:43 PM, Ultros wrote:
> I'd like to implement custom hover messages when editing JSPs. I know
> how to get the behaviour I want if I create my own TextEditor and use
> that to edit a JSP; what do I need to do in order to add this behaviour
> to Eclipse's JSP Editor?

You can use the org.eclipse.wst.sse.ui.editorConfiguration extension
point's documentationTextHover element to tie your implementor of
org.eclipse.jface.text.ITextHover to the partition type.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Does WTP WSDL editor allow adding new tabs? If yes how?
Next Topic:Embedded PHP scripts in Javascript files
Goto Forum:
  


Current Time: Tue Dec 23 00:12:03 GMT 2014

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

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