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.
- Invoke "RESTful Web Services from Entity Classes... ". - Select just one entity from the left list. - Press "Add" button. Result : all entities will be added. So "Add" behaves the same as "Add All". Only selected entity should be added.
The description is not accurate actually. In my case chosen entity depends on all other entities. "Add" put into "selected" list "closure" for chosen entity. So this is designed behavior. But it is unclear from user point of view. First of all "Remove" button could be used to remove added entities as deps. So such "closure" addition is inconsistent in this dialog. User should be notified somehow that other entities are added as "closure" or there is no need in "closure" in selected entities list at all. It seems resources for "closure" will be generated automatically no matter of their selection.
Closure entities are required only for Panel validation. There is no need to move them into the Selected list for avoiding inconsistency. So I have moved closure calculation to the resource model creation . It is used for validation. changeset: 178794:2e496586a30c user: Denis Anisimov <ads@netbeans.org> date: Tue Oct 05 17:32:20 2010 +0400 summary: Fix for BZ#190766 - "Add" button in entity chooser works the same as "Add All"
Integrated into 'main-golden', will be available in build *201010060000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2e496586a30c User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#190766 - "Add" button in entity chooser works the same as "Add All"