public ScmUrl selectUrl(Shell shell, ScmUrl scmUrl) {
ChooseUrlDialog dialog = new ChooseUrlDialog(shell, null);
dialog.setFoldersOnly(true);
dialog.setMultipleSelect(false);
if(dialog.open() == Window.OK) {
return new ScmUrl(SubclipseHandler.SCM_SVN_PREFIX + dialog.getUrl());
}
return null;
}