Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346204 - [editor] Confusion in org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverControlCreator()
Summary: [editor] Confusion in org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover....
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.6 M4   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 05:36 EDT by Jack Liu CLA
Modified: 2013-11-15 15:07 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Liu CLA 2011-05-18 05:36:33 EDT
Build Identifier: Build Identifier: 201101021000

There are two steps for show hover info.
1. get hover info
2. get InformationCreator

To get hover info, 
if the fBestMatchHover returned null, it will check other hovers from "getTextHovers()", until finding a valid display string.

To get InformationCreator, BestMatchHover will only return the fBestMatchHover's InformationCreator.

So the display string maybe come from a different hover from the fBestMatchHover, so it is strange to display other hover's result with fBestMatchHover, and would cause some issues.

Reproducible: Always