This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 54851

Summary: tooltips for ProjectAction(s) and FileCommandAction(s) in toolbars don't resolve {1}
Product: projects Reporter: Rich Unger <richunger>
Component: Generic InfrastructureAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 57974    
Bug Blocks:    

Description Rich Unger 2005-02-11 02:23:02 UTC
When I add a ProjectSensitiveAction to a toolbar
with the displayName "Foo ({1})", the {1} resolves
to an empty string in the tooltip.  The same
action in a menu resolves to "Foo (ProjectName)"
in the menu text.
Comment 1 Jan Lahoda 2005-04-18 10:29:53 UTC
I will try to fix this.
Comment 2 Jan Lahoda 2005-04-29 09:27:05 UTC
The same applies to FileCommandAction(s).

Fixed in trunk by commit:
Checking in src/org/netbeans/modules/project/ui/actions/FileCommandAction.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/FileCommandAction.java,v
 <--  FileCommandAction.java
new revision: 1.12; previous revision: 1.11
done
Checking in src/org/netbeans/modules/project/ui/actions/ProjectAction.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/ProjectAction.java,v
 <--  ProjectAction.java
new revision: 1.9; previous revision: 1.8
done