urlText.setText(remoteFolder.getUrl().toString());
urlText.setText(remoteResource.getUrl().toString());
	protected Control createDialogArea(Composite parent) {		getShell().setText(Policy.bind("ExportRemoteFolderAction.directoryDialogText")); //$NON-NLS-1$		Composite composite = new Composite(parent, SWT.NULL);		GridLayout layout = new GridLayout();		layout.numColumns = 1;		composite.setLayout(layout);		GridData data = new GridData(GridData.FILL_BOTH);		composite.setLayoutData(data);				Group repositoryGroup = new Group(composite, SWT.NULL);		repositoryGroup.setText(Policy.bind("ExportRemoteFolderDialog.repository")); //$NON-NLS-1$		GridLayout repositoryLayout = new GridLayout();		repositoryLayout.numColumns = 2;		repositoryGroup.setLayout(repositoryLayout);		data = new GridData(GridData.FILL_BOTH);		repositoryGroup.setLayoutData(data);				Label urlLabel = new Label(repositoryGroup, SWT.NONE);		urlLabel.setText(Policy.bind("ExportRemoteFolderDialog.url"));		data = new GridData();		data.horizontalSpan = 2;		urlLabel.setLayoutData(data);				Text urlText = new Text(repositoryGroup, SWT.BORDER);		data = new GridData();		data.widthHint = 300;		urlText.setLayoutData(data);		urlText.setEditable(false);		urlText.setText(remoteFolder.getUrl().toString());				new Label(repositoryGroup, SWT.NONE);				Label directoryLabel = new Label(repositoryGroup, SWT.NONE);		directoryLabel.setText(Policy.bind("ExportRemoteFolderDialog.directory"));		data = new GridData();		data.horizontalSpan = 2;		directoryLabel.setLayoutData(data);		directoryText = new Text(repositoryGroup, SWT.BORDER);		data = new GridData();		data.widthHint = 300;		directoryText.setLayoutData(data);		directoryText.addModifyListener(new ModifyListener() {			public void modifyText(ModifyEvent e) {				setOkButtonStatus();					}					});				Button directoryBrowseButton = new Button(repositoryGroup, SWT.PUSH);		directoryBrowseButton.setText(Policy.bind("ExportRemoteFolderDialog.browse"));		directoryBrowseButton.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				DirectoryDialog dialog = new DirectoryDialog(getShell(), SWT.SAVE);				dialog.setText(Policy.bind("ExportRemoteFolderAction.directoryDialogText"));				String directory = dialog.open();				if (directory != null) {					directoryText.setText(directory);					setOkButtonStatus();				}			}		});				Group revisionGroup = new Group(composite, SWT.NULL);		revisionGroup.setText(Policy.bind("SwitchDialog.revision")); //$NON-NLS-1$		GridLayout revisionLayout = new GridLayout();		revisionLayout.numColumns = 3;		revisionGroup.setLayout(revisionLayout);		data = new GridData(GridData.FILL_BOTH);		data.horizontalSpan = 3;		revisionGroup.setLayoutData(data);				headButton = new Button(revisionGroup, SWT.RADIO);		headButton.setText(Policy.bind("SwitchDialog.head")); //$NON-NLS-1$		data = new GridData();		data.horizontalSpan = 3;		headButton.setLayoutData(data);				revisionButton = new Button(revisionGroup, SWT.RADIO);		revisionButton.setText(Policy.bind("SwitchDialog.revision")); //$NON-NLS-1$				headButton.setSelection(true);				revisionText = new Text(revisionGroup, SWT.BORDER);		data = new GridData();		data.widthHint = 40;		revisionText.setLayoutData(data);		revisionText.setEnabled(false);				revisionText.addModifyListener(new ModifyListener() {            public void modifyText(ModifyEvent e) {                setOkButtonStatus();            }		    		});				logButton = new Button(revisionGroup, SWT.PUSH);		logButton.setText(Policy.bind("MergeDialog.showLog")); //$NON-NLS-1$		logButton.setEnabled(false);		logButton.addSelectionListener(new SelectionAdapter() {            public void widgetSelected(SelectionEvent e) {                showLog();            }		});					SelectionListener listener = new SelectionAdapter() {            public void widgetSelected(SelectionEvent e) {                revisionText.setEnabled(revisionButton.getSelection());                logButton.setEnabled(revisionButton.getSelection());                setOkButtonStatus();                if (revisionButton.getSelection()) {                    revisionText.selectAll();                    revisionText.setFocus();                }            }		};				headButton.addSelectionListener(listener);		revisionButton.addSelectionListener(listener);				// set F1 help		PlatformUI.getWorkbench().getHelpSystem().setHelp(composite, IHelpContextIds.EXPORT_REMOTE_FOLDER_DIALOG);			directoryText.setFocus();				return composite;	}