| Summary: | Run/Debug toobar button hover not working in e4 | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Darin Wright <darin.eclipse> |
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pwebster, remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 317182 *** |
Version: 4.1.0 Build id: I20100924-1514 The hover for the Run/Debug toolbar buttons is not working in e4. In 3.x the buttons display dynamically generated hover to explain what will be launched if pressed. I recall the buttons were using non-API code to do this. Not sure if there is a replacement technology in e4. In 3.x we were getting the cool bar manager, and adding a mouse track listener to the tool bar: CoolBarManager cmgr = ((WorkbenchWindow)window).getCoolBarManager(); if(cmgr != null) { IContributionItem item = cmgr.find("org.eclipse.debug.ui.launchActionSet"); //$NON-NLS-1$ if(item instanceof ToolBarContributionItem) { ToolBarManager tmgr = (ToolBarManager) ((ToolBarContributionItem)item).getToolBarManager(); ToolBar bar = tmgr.getControl(); if(bar != null && !bar.isDisposed()) { bar.addMouseTrackListener(fMouseListener); fToolbars.put(window, bar); } } }