Project: JDT
Bug 27988 checkbox tree behavior in refactoring not consistent
Reported: 2002-12-09 18:10:23 | Status: resolved fixed

In at least the rename-refactor wizard, after the changes have been identified, the "changes to be performed" tree's checkboxes exhibit the following behavior: Clear a task, and expand its sub-tasks. check one of the sub-tasks. This causes the super-task to be a grey 'partial-type' checkbox (expected) immediately clear that sub-task. This leaves no sub-tasks selected, but the super-task is still grey, indicating it is partially selected. This may relate to a checkbox-tree SWT widget, rather than this dialog in particular.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/CompositeChange.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/base/ICompositeChange.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeElementTreeViewer.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/DefaultChangeElement.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PreviewWizardPage.java