IDEA-89241 QuickDoc view (ctrl-mouse over): provide descriptions for Pin and Show buttons

This commit is contained in:
Denis.Zhdanov
2012-07-25 17:36:47 +04:00
parent b2a2f143c2
commit 58bed730fa
2 changed files with 3 additions and 5 deletions
@@ -45,7 +45,7 @@ public class ShowQuickDocAtPinnedWindowFromTooltipAction extends AnAction {
@Nullable private WeakReference<Pair<PsiElement, PsiElement>> myInfo;
public ShowQuickDocAtPinnedWindowFromTooltipAction() {
String className = getClass().getName();
String className = getClass().getSimpleName();
String actionId = className.substring(0, className.lastIndexOf("Action"));
getTemplatePresentation().setText(ActionsBundle.actionText(actionId));
getTemplatePresentation().setDescription(ActionsBundle.actionDescription(actionId));
@@ -201,10 +201,8 @@ action.CompareTwoFiles.text=Compare Two _Files
action.CompareTwoFiles.description=Compare two selected files
action.CompareFileWithEditor.text=Co_mpare File with Editor
action.CompareFileWithEditor.description=Compare selected file with editor
action.ShowQuickDocFromTooltip.text=Full documentation
action.ShowQuickDocFromTooltip.description=Show full documentation
action.ShowQuickDocAtPinnedWindowFromTooltip.text=Full documentation in pinned window
action.ShowQuickDocAtPinnedWindowFromTooltip.description=Show full documentation in pinned window
action.ShowQuickDocAtPinnedWindowFromTooltip.text=Full documentation in a pinned window
action.ShowQuickDocAtPinnedWindowFromTooltip.description=Show full documentation in a pinned window
group.LocalHistory.text=Local _History
action.LocalHistory.ShowHistory.text=Show _History