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.
Create a new WSDL File. Select the newly created wsdl. Right mouse button click and select Save As Template. In the Save As Template Window. Components with no LABEL_FOR pointing to it : Class: org.openide.explorer.view.TreeView$ExplorerTree { Tree View | Tree view in file selector } Components with no mnemonic : Class: javax.swing.JLabel { Select the category in which the new template will appear: | }
Issue between core/windows and openide/loaders modules. SaveAsTemplate uses NodeOperation.select which is implemented in core/windows. The impl in core/windows improperly handles the ampersand in the title (though it is documented it handles it). On the other hand, it certainly set the JLabel a top as a labelFor the BeanTreeView below and I'm not sure it can do more. Once NodeOperationImpl gets fixed, SaveAsTemplateAction can provide the mnemonic.
Eval: already done by pnejedly, thanks, accepted.
i believe pnejedly's evaluation is wrong. core/windows implementation does handle mnemonics correctly. pls consider the simple patch below reassigning back to openide/loaders for re-evaluation # This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: openide/loaders/src/org/openide/loaders/Bundle.properties --- openide/loaders/src/org/openide/loaders/Bundle.properties Base (1.22) +++ openide/loaders/src/org/openide/loaders/Bundle.properties Locally Modified (Based On 1.22) @@ -260,7 +260,7 @@ #SaveAsTemplateAction SaveAsTemplate=Save As Template... Title_SaveAsTemplate=Save As Template -CTL_SaveAsTemplate=Select the category in which the new template will appear: +CTL_SaveAsTemplate=&Select the category in which the new template will appear: CTL_SaveAsTemplate_TemplatesRoot=Templates SaveAll=Save &All # FileSystemRefreshAction
Fix applied: Bundle.properties /openide/loaders/src/org/openide/loaders, rev. 1.23