Bug 300862 Change buttons order in PathVariableDialog
IMHO more intuitive order for buttons in PathVariableDialog would be [File...][Folder...][Variable...] instead of [File...][Variable...][Folder...]. I can provide a patch if the swap makes sense to you too ;)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/PathVariableDialog.java
IPath path = Path.fromPortableString(newValue);
                if (operationMode != EDIT_LINK_LOCATION && currentResource != null && !path.isAbsolute() && path.segmentCount() > 0) {
                	path = buildVariableMacro(path);
                	newValue = path.toPortableString();
                }
                variableValue = newValue;
                variableValueField.setText(newValue);
            }
        }
    }
	private IPath buildVariableMacro(IPath relativeSrcValue) {
		String variable = relativeSrcValue.segment(0);
		variable = "${" + variable + "}";  
		return Path.fromOSString(variable).append(relativeSrcValue.removeFirstSegments(1));
	}
	/**
     * Adds buttons to this dialog's button bar.
     * 
     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar
     */
    protected void createButtonsForButtonBar(Composite parent) {
        okButton = createButton(parent, IDialogConstants.OK_ID,
                IDialogConstants.OK_LABEL, true);
        okButton.setEnabled(type == EXISTING_VARIABLE);
        createButton(parent, IDialogConstants.CANCEL_ID,
                IDialogConstants.CANCEL_LABEL, false);
    }
    /**
     * Validates the current variable name, and updates this dialog's message.
     *