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/PathVariablesGroup.java
*/
    public PathVariablesGroup(boolean multiSelect, int variableType,
            Listener selectionListener) {
        this(multiSelect, variableType);
        this.selectionListener = selectionListener;
    }
    /**
     * Opens a dialog for creating a new variable.
     */
    private void addNewVariable() {
        
        PathVariableDialog dialog = new PathVariableDialog(shell,
                PathVariableDialog.NEW_VARIABLE, variableType,
                pathVariableManager, tempPathVariables.keySet());
        dialog.setResource(currentResource);
        
        if (dialog.open() == Window.CANCEL) {
			return;
		}
        
        
        String newVariableName = dialog.getVariableName();
        IPath newVariableValue = new Path(dialog.getVariableValue());
        tempPathVariables.put(newVariableName, newVariableValue);
        
        updateWidgetState(newVariableName);
    }
    /**
     * Creates the widget group.
     * Callers must call <code>dispose</code> when the group is no