Bug 298835 Merge e4 Project Path Variable back into the 3.6 stream
The virtual folder and filters changes are already in 3.6, the project path variable changes in e4 still remains to be merged.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/PathVariableDialog.java
/**
     * Returns the variable name.
     * 
     * @return the variable name
     */
    public String getVariableName() {
        return variableName;
    }
    /**
     * Returns the variable value.
     * 
     * @return the variable value
     */
    public String getVariableValue() {
    	if (currentResource != null) {
    		String internalFormat = ((ProjectPathVariableManager) currentResource.getProject().getPathVariableManager()).convertFromUserEditableFormat(variableValue);
    		return internalFormat;
    	}
    	return variableValue;
    }
    /**
     * Sets the variable name.
     * 
     * @param variableName the new variable name
     */
    public void setVariableName(String variableName) {
        this.variableName = variableName.trim();
        this.originalName = this.variableName;
    }
    /**