Removes any paths in the selection that are descendants of path . If includePath is true and path is selected, it will be removed from the selection. @return true if a descendant was selected @since 1.3
(TreePath path,
boolean includePath)
| 3723 | * @since 1.3 |
| 3724 | */ |
| 3725 | protected boolean removeDescendantSelectedPaths(TreePath path, |
| 3726 | boolean includePath) { |
| 3727 | TreePath[] toRemove = getDescendantSelectedPaths(path, includePath); |
| 3728 | |
| 3729 | if (toRemove != null) { |
| 3730 | getSelectionModel().removeSelectionPaths(toRemove); |
| 3731 | return true; |
| 3732 | } |
| 3733 | return false; |
| 3734 | } |
| 3735 | |
| 3736 | /** |
| 3737 | * Returns an array of paths in the selection that are descendants of |
no test coverage detected