Bug 185892 [Import/Export] Unexpectedly cursor moving in import dialog.
Unexpectedly cursor moving in import dialog. To reproduce: 1. select "Import" from context menu. 2. Select "File System" and click "Next". 3. Click "Into Folder" text field and input/delete a character. Issues: The cursor moves to "From directory" text field unexpectedly.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardFileSystemResourceImportPage1.java
* Sets the source name of the import to be the supplied path.
     * Adds the name of the path to the list of items in the
     * source combo and selects it.
     *
     * @param path the path to be added
     */
    protected void setSourceName(String path) {
        if (path.length() > 0) {
            String[] currentItems = this.sourceNameField.getItems();
            int selectionIndex = -1;
            for (int i = 0; i < currentItems.length; i++) {
                if (currentItems[i].equals(path)) {
					selectionIndex = i;
				}
            }
            if (selectionIndex < 0) {
                int oldLength = currentItems.length;
                String[] newItems = new String[oldLength + 1];
                System.arraycopy(currentItems, 0, newItems, 0, oldLength);
                newItems[oldLength] = path;
                this.sourceNameField.setItems(newItems);
                selectionIndex = oldLength;
            }
            this.sourceNameField.select(selectionIndex);
            resetSelection();
        }
    }
    /**
     * Update the tree to only select those elements that match the selected types
     */