Bug 311584 [build path] "Extend" path variable button does nothing
Build Identifier: I20100429-1549 The "extend..." button in the Java project's link source dialog does not work. Reproducible: Always Steps to Reproduce: * In the Java perspective, right click a Java project, goto Build Path > Link Source... * Select Variables... * In the dialog that appears, select an existing path variable and click Extend... Effect: Nothing happens. Expected: A file browser relative to the path variable appears.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/PathVariableSelectionDialog.java
private static final int EXTEND_ID = IDialogConstants.CLIENT_ID + 1;
    private PathVariablesGroup pathVariablesGroup;
	private IResource currentResource = null;
    private int variableType;
    /**
     * Creates a path variable selection dialog.
     *
     * @param parentShell the parent shell
     * @param variableType the type of variables that are displayed in 
     * 	this dialog. <code>IResource.FILE</code> and/or <code>IResource.FOLDER</code>
     * 	logically ORed together.
     */
    public PathVariableSelectionDialog(Shell parentShell, int variableType) {
        super(parentShell);
        setTitle(IDEWorkbenchMessages.PathVariableSelectionDialog_title);
        this.variableType = variableType;
        pathVariablesGroup = new PathVariablesGroup(false, variableType,
                new Listener() {
                    /* (non-Javadoc)
                     * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
                     */
                    public void handleEvent(Event event) {
                        updateExtendButtonState();
                    }
                });
        setShellStyle(getShellStyle() | SWT.SHEET);
    }
    /* (non-Javadoc)