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
variableValueLabel.setText(valueLabelText);
        
        variableValueField = new Text(contents, SWT.SINGLE | SWT.BORDER);
        variableValueField.setText(variableValue);
        variableValueField.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
        		false));
        variableValueField.addModifyListener(new ModifyListener() {
            public void modifyText(ModifyEvent event) {
                variableValueModified();
            }
        });
        
        Composite buttonsComposite = new Composite(contents, SWT.NONE);
        buttonsComposite.setLayoutData(new GridData(SWT.END, SWT.CENTER, false,
        		false, 1, 1));
        GridLayout layout = new GridLayout(3, true);
        layout.marginWidth = 0;
        layout.marginHeight = 0;
        buttonsComposite.setLayout(layout);
        
        fileButton = new Button(buttonsComposite, SWT.PUSH);
        fileButton.setText(IDEWorkbenchMessages.PathVariableDialog_file);
        fileButton.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false,
        		false));
        if ((variableType & IResource.FILE) == 0) {
			fileButton.setEnabled(false);
		}
        fileButton.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                selectFile();