Bug 224997 [Workbench] Impossible to copy project
Version: 3.4.0 Build id: I20080330-1350 Steps: * empty workspace * create simple project "foo" * copy (context menu/key binding doesn't matter) * paste it (package explorer/navigator doesn't matter) * see: "Copy of foo", OK is enabled. Changing the name of the project (in whatever fasion) leads to the "Project name must be specified message". No way to sucessfully copy the project.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java
*/
    public String getProjectName() {
        if (projectNameField == null) {
			return initialProjectFieldValue;
		}
        return getProjectNameFieldValue();
    }
    /**
     * Returns the value of the project name field
     * with leading and trailing spaces removed.
     * 
     * @return the project name in the field
     */
    private String getProjectNameFieldValue() {
        if (projectNameField == null) {
			return ""; 
		}
        return projectNameField.getText().trim();
    }
    /**
     * Sets the initial project name that this page will use when
     * created. The name is ignored if the createControl(Composite)
     * method has already been called. Leading and trailing spaces
     * in the name are ignored.
     * Providing the name of an existing project will not necessarily 
     * cause the wizard to warn the user.  Callers of this method 
     * should first check if the project name passed already exists 
     * in the workspace.
     * 
     * @param name initial project name for this page