| Summary: | Incorrect LWS icon in Declaration view | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Noopur Gupta <noopur_gupta> |
| Component: | Text | Assignee: | Martin Mathew <manju656> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert |
| Version: | 4.3 | ||
| Target Milestone: | 4.3 M6 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Noopur Gupta
Manju, please investigate. AbstractInfoView#computeAndDoSetInput() initiates a background thread which finds the correct input for the view. There is a method #isIgnoringNewInput() which determines if the previous input and the current input are the same. If it is the same then no further action is taken to refresh the view or update the icon.
The issue is even though the input is valid, the icon would have changed it's state due to a previous invalid selection like the scenario described by the bug report. So before returning, the icon state has to be corrected.
if (isIgnoringNewInput(je, part, selection)) {
updateLinkImage(false);
return;
}
*** This bug has been marked as a duplicate of bug 403074 *** |