public void run() { checkForProjectFile(); if (hasProjectFile) { if (checkoutAsWithProjectFilePage != null) { checkoutAsWithProjectFilePage.setText(Policy.bind("CheckoutWizardCheckoutAsPage.single", remoteFolders[0].getName()));    } } else { if (checkoutAsWithoutProjectFilePage != null) { checkoutAsWithoutProjectFilePage.setText(Policy.bind("CheckoutWizardCheckoutAsPage.single", remoteFolders[0].getName())); IProject project = SVNWorkspaceRoot.getProject(remoteFolders[0],null); checkoutAsWithoutProjectFilePage.setProject(project.getName());  } }
public void run(IProgressMonitor monitor) throws InvocationTargetException { try { root[0].validateConnection(monitor); } catch (TeamException e) { throw new InvocationTargetException(e);
						public void run() {							checkForProjectFile();							if (hasProjectFile) {								if (checkoutAsWithProjectFilePage != null) {									checkoutAsWithProjectFilePage.setText(Policy.bind("CheckoutWizardCheckoutAsPage.single", remoteFolders[0].getName())); //$NON-NLS-1$//									IProject project = SVNWorkspaceRoot.getProject(remoteFolders[0],null);//									checkoutAsWithProjectFilePage.setProject(project.getName());//									checkoutAsWithProjectFilePage.setProject(remoteFolders[0].getName());								}							} else {								if (checkoutAsWithoutProjectFilePage != null) {									checkoutAsWithoutProjectFilePage.setText(Policy.bind("CheckoutWizardCheckoutAsPage.single", remoteFolders[0].getName())); //$NON-NLS-1$									IProject project = SVNWorkspaceRoot.getProject(remoteFolders[0],null);									checkoutAsWithoutProjectFilePage.setProject(project.getName());//									checkoutAsWithoutProjectFilePage.setProject(remoteFolders[0].getName());								}							}						}						