Bug 150805 [Import/Export] Incomplete validation when importing from directory
The following instance methods of CheckboxTreeViewer class don't fire any CheckStateChangedEvent. Affected methods: setAllChecked(...) setCheckedElements(...) setChecked(...) Steps to reproduce the bug: 1. File -> Import... 2. File System -> Next 3. Choose a "From directory" using the Browse... button 4. Check the root element from the left pane (the error message saying that "There are no resources currently selected for import." should disappear) 5. Press the Deselect All button and see that no error message is displayed at all!! 6. Recheck the root element twice and the error message is displayed again!! Solution: Add fireCheckStateChanged calls inside affected methods
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ICheckable.java
* @param listener a check state listener
     */
    public void addCheckStateListener(ICheckStateListener listener);
    /**
     * Returns the checked state of the given element.
     *
     * @param element the element
     * @return <code>true</code> if the element is checked,
     *   and <code>false</code> if not checked
     */
    public boolean getChecked(Object element);
    /**
     * Removes the given check state listener from this viewer.
     * Has no effect if an identical listener is not registered.
     *
     * @param listener a check state listener
     */
    public void removeCheckStateListener(ICheckStateListener listener);
    /**
     * Sets the checked state for the given element in this viewer.
     *
     * @param element the element
     * @param state <code>true</code> if the item should be checked,
     *  and <code>false</code> if it should be unchecked
     * @return <code>true</code> if the checked state could be set, 
     *  and <code>false</code> otherwise
     */
    public boolean setChecked(Object element, boolean state);
}