Bug 310446 [LinkedResources] "Preferences > Linked Resources > New..." should not show "Variable..."
I20100425-2000 "Preferences > Linked Resources": The "New..." and "Edit..." dialogs should not show the "Variable..." button. When I select a variable, the "New Variable" dialog show an error (Path must be absolute.), and when I try to click "Extend...", nothing happens.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/PathVariableDialog.java
*/
    private Composite createComposite(Composite parentComposite) {
        
        Composite contents = new Composite(parentComposite, SWT.NONE);
        contents.setLayout(new GridLayout(3, false));
        contents.setLayoutData(new GridData(GridData.FILL_BOTH));
        if (operationMode == NEW_VARIABLE)
            setTitle(IDEWorkbenchMessages.PathVariableDialog_dialogTitle_newVariable);
        else if (operationMode == EXISTING_VARIABLE)
            setTitle(IDEWorkbenchMessages.PathVariableDialog_dialogTitle_existingVariable);
        else
            setTitle(IDEWorkbenchMessages.PathVariableDialog_dialogTitle_editLinkLocation);
        setMessage(standardMessage);
        return contents;
    }
    /**
     * Creates widgets for this dialog.
     * 
     * @param contents the parent composite where to create widgets
     */
    private void createWidgets(Composite contents) {
        String nameLabelText = IDEWorkbenchMessages.PathVariableDialog_variableName;
        String valueLabelText = IDEWorkbenchMessages.PathVariableDialog_variableValue;
        String resolvedValueLabelText = IDEWorkbenchMessages.PathVariableDialog_variableResolvedValue;
        if (operationMode != EDIT_LINK_LOCATION) {
	        
	        variableNameLabel = new Label(contents, SWT.LEAD);
	        variableNameLabel.setText(nameLabelText);
	        variableNameLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));