if (remoteFolders != null && remoteFolders.length == 1) { if (project != null) checkoutAsWithProjectFilePage.setProjectName(project.getName()); }
	public void addPages() {		setNeedsProgressMonitor(true);		if (remoteFolders == null) {			locationPage = new CheckoutWizardLocationPage("locationPage", //$NON-NLS-1$ 					Policy.bind("CheckoutWizardLocationPage.heading"), //$NON-NLS-1$					SVNUIPlugin.getPlugin().getImageDescriptor(							ISVNUIConstants.IMG_WIZBAN_SHARE));			addPage(locationPage);			createLocationPage = new ConfigurationWizardMainPage(					"createLocationPage", //$NON-NLS-1$ 					Policy.bind("CheckoutWizardLocationPage.heading"), //$NON-NLS-1$					SVNUIPlugin.getPlugin().getImageDescriptor(							ISVNUIConstants.IMG_WIZBAN_SHARE));			addPage(createLocationPage);			selectionPage = new CheckoutWizardSelectionPage("selectionPage", //$NON-NLS-1$ 					Policy.bind("CheckoutWizardSelectionPage.heading"), //$NON-NLS-1$					SVNUIPlugin.getPlugin().getImageDescriptor(							ISVNUIConstants.IMG_WIZBAN_SHARE));			addPage(selectionPage);		}		if (remoteFolders == null || remoteFolders.length > 1) {			checkoutAsMultiplePage = new CheckoutWizardCheckoutAsMultiplePage(					"checkoutAsMultiplePage", //$NON-NLS-1$ 					Policy.bind("CheckoutWizardCheckoutAsPage.heading"), //$NON-NLS-1$					SVNUIPlugin.getPlugin().getImageDescriptor(							ISVNUIConstants.IMG_WIZBAN_SHARE));			addPage(checkoutAsMultiplePage);		}		if (remoteFolders == null || remoteFolders.length == 1) {			if (remoteFolders == null || hasProjectFile) {				checkoutAsWithProjectFilePage = new CheckoutWizardCheckoutAsWithProjectFilePage(						"checkoutAsWithProjectFilePage", //$NON-NLS-1$ 						Policy.bind("CheckoutWizardCheckoutAsPage.heading"), //$NON-NLS-1$						SVNUIPlugin.getPlugin().getImageDescriptor(								ISVNUIConstants.IMG_WIZBAN_SHARE));				addPage(checkoutAsWithProjectFilePage);			}			if (remoteFolders == null || !hasProjectFile) {				checkoutAsWithoutProjectFilePage = new CheckoutWizardCheckoutAsWithoutProjectFilePage(						"checkoutAsWithoutProjectFilePage", //$NON-NLS-1$ 						Policy.bind("CheckoutWizardCheckoutAsPage.heading"), //$NON-NLS-1$						SVNUIPlugin.getPlugin().getImageDescriptor(								ISVNUIConstants.IMG_WIZBAN_SHARE));				addPage(checkoutAsWithoutProjectFilePage);			}		}		projectPage = new CheckoutWizardProjectPage("projectPage", //$NON-NLS-1$ 				Policy.bind("CheckoutWizardProjectPage.heading"), //$NON-NLS-1$				SVNUIPlugin.getPlugin().getImageDescriptor(						ISVNUIConstants.IMG_WIZBAN_SHARE));		addPage(projectPage);	}