Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366513 - [docs] Pressing F1 does not reveal docs for "Replace with Local History" context-menu action in the package explorer
Summary: [docs] Pressing F1 does not reveal docs for "Replace with Local History" cont...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 3.8 M7   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 366444
  Show dependency tree
 
Reported: 2011-12-13 05:34 EST by Helmut J. Haigermoser CLA
Modified: 2012-04-18 07:44 EDT (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 Helmut J. Haigermoser CLA 2011-12-13 05:34:04 EST
Build Identifier: 

Context sensitive help for actions in menus is great. For example, I can hover
on top of my "Refresh" action, press F1 and get a one-sentence description of
what this will do to me if I choose to use. However, there are some actions
that don't have this working (the list is not complete of course), amongst them
 "Replace with Local History"

Reproducible: Always

Steps to Reproduce:
1. Right click a project in your package explorer view
2. Hover on top of a "Replace with Local History" action and press F1
3. Check if an appropriate help message comes up
Comment 1 Helmut J. Haigermoser CLA 2011-12-13 05:35:17 EST
CQ:WIND00086167

The docs team sent me to the individual teams to get F1 fixed for every action
one at a time, please see the linked bugzilla for the umbrella I originally
filed..
Comment 2 Tomasz Zarna CLA 2012-04-17 10:37:16 EDT
This seems to be a general issue with all Compare/Team actions, which are not org.eclipse.jface.action.Actions but org.eclipse.ui.IActionDelegates. The context help you mentioned must be associated with an IAction (see org.eclipse.ui.help.IWorkbenchHelpSystem.setHelp(IAction, String)). I guess it's another reason to tackle bug 196349 soon, until then I'm removing the target milestone from this bug.
Comment 3 Tomasz Zarna CLA 2012-04-17 10:55:50 EDT
Please ignore my previous comment. After looking at the twin bug 366512 and some more digging it looks to be achievable without fixing bug 196349. I'm on it.
Comment 4 Tomasz Zarna CLA 2012-04-18 06:01:14 EDT
(In reply to comment #0)
> 1. Right click a project in your package explorer view
> 2. Hover on top of a "Replace with Local History" action and press F1

The action is not available on project level, if you meant "Restore from Local History...", please file a separate bug for it. 

The "Replace With > Local History..." action being fixed here is available for unmanaged files.
Comment 5 Tomasz Zarna CLA 2012-04-18 06:09:19 EDT
Fixed with 4981966662e63b6fe5bef93129b4dd28ef1ac941 in eclipse.platform.team and 2b1eb2365100b9e3d14a886d8bf6d96cac1a86a8 in eclipse.platform.common.