Bug 56196 [Progress] Cannot create file when using repository
I200304250010 1) Create a new workspace 2) Add a repository connection 3) Create project A 4) Check out a larger project B While the check out is running 5) File>New>File 6) Select project B 7) Add a name 8) Press Finish -> File cannot be created because this is blocked by a background operation
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java
setPageComplete(false);
}
/*
 * @see DialogPage.setVisible(boolean)
 */
public void setVisible(boolean visible) {
	super.setVisible(visible);
	if(visible)
		resourceGroup.setFocus();
}
/**
 * Checks whether the linked resource target is valid.
 * Sets the error message accordingly and returns the status.
 *  
 * @return IStatus validation result from the CreateLinkedResourceGroup
 */
protected IStatus validateLinkedResource() {
	IPath containerPath = resourceGroup.getContainerFullPath();
	IPath newFolderPath = containerPath.append(resourceGroup.getResource());
	IFolder newFolderHandle = createFolderHandle(newFolderPath);
	IStatus status = linkedResourceGroup.validateLinkLocation(newFolderHandle);
	if (status.getSeverity() == IStatus.ERROR) {
		if (firstLinkCheck)
			setMessage(status.getMessage());
		else
			setErrorMessage(status.getMessage());		
	} else if (status.getSeverity() == IStatus.WARNING) {
		setMessage(status.getMessage(), WARNING);
		setErrorMessage(null);		
	}