revisionLayout.numColumns = 2;
revisionLayout.numColumns = 3;
	protected Control createDialogArea(Composite parent) {		getShell().setText(Policy.bind("SwitchDialog.title")); //$NON-NLS-1$		Composite composite = new Composite(parent, SWT.NULL);		GridLayout layout = new GridLayout();		layout.numColumns = 3;		composite.setLayout(layout);		GridData data = new GridData(GridData.FILL_BOTH);		composite.setLayoutData(data);				Label urlLabel = new Label(composite, SWT.NONE);		urlLabel.setText(Policy.bind("SwitchDialog.url")); //$NON-NLS-1$				urlCombo = new UrlCombo(composite, resource.getProject().getName());		ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);		try {            String anUrl = svnResource.getStatus().getUrlString();            if (anUrl != null) urlCombo.setText(anUrl);        } catch (SVNException e1) {}        urlCombo.getCombo().addModifyListener(new ModifyListener() {            public void modifyText(ModifyEvent e) {                setOkButtonStatus();            }                 });				Button browseButton = new Button(composite, SWT.PUSH);		browseButton.setText(Policy.bind("SwitchDialog.browse")); //$NON-NLS-1$		browseButton.addSelectionListener(new SelectionAdapter() {            public void widgetSelected(SelectionEvent e) {                ChooseUrlDialog dialog = new ChooseUrlDialog(getShell(), resource);                if ((dialog.open() == ChooseUrlDialog.OK) && (dialog.getUrl() != null)) {                    urlCombo.setText(dialog.getUrl());                    setOkButtonStatus();                }            }		});		Group revisionGroup = new Group(composite, SWT.NULL);		revisionGroup.setText(Policy.bind("SwitchDialog.revision")); //$NON-NLS-1$		GridLayout revisionLayout = new GridLayout();		revisionLayout.numColumns = 2;		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 = 2;		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 = REVISION_WIDTH_HINT;		revisionText.setLayoutData(data);		revisionText.setEnabled(false);				revisionText.addModifyListener(new ModifyListener() {            public void modifyText(ModifyEvent e) {                setOkButtonStatus();            }		    		});				SelectionListener listener = new SelectionAdapter() {            public void widgetSelected(SelectionEvent e) {                revisionText.setEnabled(revisionButton.getSelection());                setOkButtonStatus();                if (revisionButton.getSelection()) {                    revisionText.selectAll();                    revisionText.setFocus();                }            }		};				headButton.addSelectionListener(listener);		revisionButton.addSelectionListener(listener);		// Add F1 help		WorkbenchHelp.setHelp(composite, IHelpContextIds.SWITCH_DIALOG);				return composite;	}