fExternalLocationControl.setFocus();
if (!clipboard) fExternalLocationControl.setFocus();
	public RefactoringScriptLocationControl(final IWizard wizard, final Composite parent) {		super(parent, SWT.NONE);		Assert.isNotNull(wizard);		fWizard= wizard;		setLayoutData(createGridData(GridData.FILL_HORIZONTAL, 6, 0));		setLayout(new GridLayout(3, false));		boolean clipboard= false;		final IDialogSettings settings= fWizard.getDialogSettings();		if (settings != null)			clipboard= settings.getBoolean(SETTING_CLIPBOARD);		fFromClipboardButton= new Button(this, SWT.RADIO);		fFromClipboardButton.setText(ScriptingMessages.ScriptLocationControl_clipboard_label);		fFromClipboardButton.setLayoutData(createGridData(GridData.HORIZONTAL_ALIGN_BEGINNING, 3, 0));		fFromClipboardButton.setSelection(clipboard);		fFromClipboardButton.addSelectionListener(new SelectionAdapter() {			public final void widgetSelected(final SelectionEvent event) {				final boolean selection= fFromClipboardButton.getSelection();				fExternalLocationControl.setEnabled(!selection);				fExternalBrowseButton.setEnabled(!selection);				handleClipboardScriptChanged();			}		});		fFromExternalLocationButton= new Button(this, SWT.RADIO);		fFromExternalLocationButton.setText(ScriptingMessages.ScriptLocationControl_location_label);		fFromExternalLocationButton.setLayoutData(createGridData(GridData.HORIZONTAL_ALIGN_BEGINNING, 1, 0));		fFromExternalLocationButton.setSelection(!clipboard);		fFromExternalLocationButton.addSelectionListener(new SelectionAdapter() {			public final void widgetSelected(final SelectionEvent event) {				handleExternalLocationChanged();			}		});		fExternalLocationControl= new RefactoringLocationControl(fWizard, this, SETTING_HISTORY);		fExternalLocationControl.setLayoutData(createGridData(GridData.FILL_HORIZONTAL, 1, 0));		fExternalLocationControl.setEnabled(!clipboard);		fExternalLocationControl.getControl().addModifyListener(new ModifyListener() {			public final void modifyText(final ModifyEvent event) {				handleExternalLocationChanged();			}		});		fExternalLocationControl.getControl().addSelectionListener(new SelectionAdapter() {			public void widgetSelected(final SelectionEvent event) {				handleExternalLocationChanged();			}		});		fExternalLocationControl.setFocus();		fExternalBrowseButton= new Button(this, SWT.PUSH);		fExternalBrowseButton.setText(ScriptingMessages.ScriptLocationControl_browse_label);		fExternalBrowseButton.setEnabled(!clipboard);		fExternalBrowseButton.setLayoutData(createGridData(GridData.HORIZONTAL_ALIGN_FILL, 1, 0));		SWTUtil.setButtonDimensionHint(fExternalBrowseButton);		fExternalBrowseButton.addSelectionListener(new SelectionAdapter() {			public final void widgetSelected(final SelectionEvent event) {				handleBrowseExternalLocation();			}		});		addDisposeListener(new DisposeListener() {			public final void widgetDisposed(final DisposeEvent event) {				if (settings != null)					settings.put(SETTING_CLIPBOARD, fFromClipboardButton.getSelection());			}		});	}