Bug 309273 An error in the New File wizard when the linked resource location does not specify a scheme
Build id: I20100406-1034 I noticed that extra validation is made when creating linked files or folders. I used to add linked resources with empty locations or locations without scheme to change it later. Now it is not possible. I can't find a bug that introduced this change, so I assume it was introduced silently with one of recent fixes. Serge, could you point out the fix that introduced this change? It looks like you sneaked a fix with one of recently fixed bugs. You should have rather opened another bug to fix it. Anyway, I don't like this change.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java
}
					public String getValue() {
						return resourceGroup.getResource();
					}
					public IResource getResource() {
						IPath path = resourceGroup.getContainerFullPath();
						IWorkspaceRoot root = ResourcesPlugin.getWorkspace()
								.getRoot();
						IResource resource = root.findMember(path);
						if (resource != null && resource instanceof IContainer) {
							String resourceName = resourceGroup.getResource();
							return ((IContainer) resource).getFile(Path.fromOSString(resourceName.length() > 0 ? resourceName:"foo")); 
						}
						return resource;
					}
				});
	}
	/**
	 * (non-Javadoc) Method declared on IDialogPage.
	 */
	public void createControl(Composite parent) {
		initializeDialogUnits(parent);
		
		Composite topLevel = new Composite(parent, SWT.NONE);
		topLevel.setLayout(new GridLayout());
		topLevel.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL
				| GridData.HORIZONTAL_ALIGN_FILL));
		topLevel.setFont(parent.getFont());
		PlatformUI.getWorkbench().getHelpSystem().setHelp(topLevel,
				IIDEHelpContextIds.NEW_FILE_WIZARD_PAGE);