This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes How Does Javadoc in Tooltip Work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How Does Javadoc in Tooltip Work" Watch "How Does Javadoc in Tooltip Work" New topic

How Does Javadoc in Tooltip Work

Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1138

I am using Eclipse 3.4.0 (Ganymede).
I am trying to find out how the feature of displaying the javadoc in a tooltip works.
For example, when I open a java source code file with the java editor and position the mouse pointer over a method name, a tooltip pops up showing partial javadoc for that method.
I would appreciate an explanation of how this feature is implemented.

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14956

How it is implemented? That's probably hard to explain. But Eclipse is open source, so if you really want to know, you could get the source code of Eclipse and start digging into it.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: How Does Javadoc in Tooltip Work
It's not a secret anymore!