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
variableNameField = new Text(contents, SWT.SINGLE | SWT.BORDER);
	        variableNameField.setText(variableName);
	        variableNameField.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
	        		false, 2, 1));
	        variableNameField.addModifyListener(new ModifyListener() {
	            public void modifyText(ModifyEvent event) {
	                variableNameModified();
	            }
	        });
        }
        
        
        variableValueLabel = new Label(contents, SWT.LEAD);
        variableValueLabel.setText(valueLabelText);
        variableValueLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
        
        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(1, true);