Bug 322401 [LinkedResources] Linked Resources properties page should have a Remove button
I20100810-0800 Project properties > Resource > Linked Resources > Linked Resources: Especially for invalid locations, a Remove button would be handy to remove one or multiple links.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/LinkedResourceEditor.java
if (variableName == null)
				variableName = "ROOT"; 
			else
				variableName = variableName.substring(0, variableName.length() -1); 
		}
		StringBuffer buf = new StringBuffer();
		for (int i = 0; i < variableName.length(); i++) {
			char c = variableName.charAt(i);
			if (Character.isLetterOrDigit(c) || (c == '_'))
				buf.append(c);
			else
				buf.append('_');
		}
		variableName = buf.toString();
		int index = 1;
		while (fProject.getPathVariableManager().isDefined(variableName)) {
			variableName += index;
			index++;
		}
		return variableName;
	}
	void editLocation() {
		IResource resource = getSelectedResource()[0];
		IPath location = resource.getRawLocation();
		PathVariableDialog dialog = new PathVariableDialog(
				fConvertAbsoluteButton.getShell(),
				PathVariableDialog.EDIT_LINK_LOCATION, resource.getType(),
				resource.getPathVariableManager(), null);
		if (location != null)
			dialog.setLinkLocation(location);