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 154113 - Always enabled actions creation wizard
Summary: Always enabled actions creation wizard
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 18:05 UTC by emmbec
Modified: 2008-12-11 05:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emmbec 2008-11-28 18:05:59 UTC
I am trying to create a new "Always Enabled" action in a new module (I am building an application using the NetBeans
platform). 

- My Project Suite is using only the "platform9" library.
- I create a new module to store actions.
- I launch the NEW ACTION wizard.
- I select the "Always Enabled" option and click on NEXT.
- I create the action specifying  the GLOBAL MENU ITEM, TOOLBAR BUTTON and a KEYBORD SHORTCUT.
- I click on Next.
- I Specify a class name "MyAction", a display name "My Action", the icon that it will use and then I click on Finish.
My action is created correctly, If I launch the application it is displayed right with the icon that I chose. Now I try
to add another one, in the GUI REGISTRATION section, I cannot see the name of my previously created action in the
position sections, I only see "instance from Actions.alwaysEnabled", for two actions it is not a problem, but when I add
5 actions, I don't know which one is which so that I can arrange them correctly. In previous versions of Netbeans it
used to display the "Display Name" of the actions which was very useful.
Comment 1 Peter Pis 2008-11-28 21:21:43 UTC
Reassigning to apisupport.
Comment 2 rmichalsky 2008-12-08 16:22:03 UTC
Shadow files probably never showed localized names correctly, that had to be at least before NB 5.5. Up to 6.1 class
names were shown, which was still way better than in 6.5.

Fixed in core-main #f0bbc7612fe0. Now shows localized name for shadow file, if specified in
"SystemFileSystem.localizingBundle" attribute in layer.xml (which is what New Action Wizard generates since 6.5).
Comment 3 Quality Engineering 2008-12-11 05:56:51 UTC
Integrated into 'main-golden', will be available in build *200812110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f0bbc7612fe0
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #154113: Showing localized names of shadow files.