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 219881 - Check all button seriously needed in Spring configuration files detection
Summary: Check all button seriously needed in Spring configuration files detection
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Martin Fousek
URL:
Keywords: PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2012-10-11 06:11 UTC by Cyki
Modified: 2013-05-03 02:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screen (90.40 KB, image/png)
2012-10-11 06:11 UTC, Cyki
Details
Proposed patch (18.94 KB, patch)
2013-04-28 19:58 UTC, markiewb
Details | Diff
Patch in action (8.86 KB, image/png)
2013-04-28 19:59 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyki 2012-10-11 06:11:58 UTC
Created attachment 125747 [details]
Screen

I have project with *many* Spring XML configuration files. It looks like on attached screen. Clicking every checkbox is really boring. Is there any way to add "(un)check all" button?
Comment 1 Martin Fousek 2013-01-03 07:06:02 UTC
That's really good point. Thanks for entering this RFE. I'll try to take a look on that next release.
Comment 2 markiewb 2013-04-28 19:58:16 UTC
Created attachment 133892 [details]
Proposed patch

I like to propose a patch to solve this issue. 

The patch adds two buttons "select all"/"select none", which (un)select the selectable items. The buttons enable themselves based on the number of selected items.

Please have a look and review the patch.
Comment 3 markiewb 2013-04-28 19:59:12 UTC
Created attachment 133893 [details]
Patch in action
Comment 4 Martin Fousek 2013-04-29 14:12:45 UTC
Thanks a lot for attaching the patch, I'm on vacation till Thu but I promise to you that I will take a look and integrate it before the Feature Freeze on 6th May. Really appreciate your help, sorry that I hadn't time for that myself due to JavaEE7 work.
Comment 5 Martin Fousek 2013-05-02 08:22:32 UTC
Thanks again for attached patch, really appreciate your help!

I simplified it just a bit and integrated into the repository in web-main #4bfad5d141bf: http://hg.netbeans.org/web-main/rev/4bfad5d141bf
Comment 6 Quality Engineering 2013-05-03 02:16:58 UTC
Integrated into 'main-golden', will be available in build *201305022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4bfad5d141bf
User: Martin Fousek <marfous@netbeans.org>
Log: #219881 - Check all button seriously needed in Spring configuration files detection