Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 126876
Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/dialogs/WorkingSetSelectionDialog.java (+10 lines)
Lines 326-331 Link Here
326
    void handleSelectionChanged() {
326
    void handleSelectionChanged() {
327
        updateButtonAvailability();
327
        updateButtonAvailability();
328
    }
328
    }
329
    
330
    /* (non-Javadoc)
331
     * @see org.eclipse.ui.internal.dialogs.AbstractWorkingSetDialog#updateButtonAvailability()
332
     */
333
    protected void updateButtonAvailability() {
334
    	super.updateButtonAvailability();
335
    	
336
    	if (!multiSelect && buttonSelectedSets.getSelection() && listViewer.getCheckedElements().length > 1)
337
    		getOkButton().setEnabled(false);
338
    }
329
339
330
    /**
340
    /**
331
     * Sets the selected working sets as the dialog result.
341
     * Sets the selected working sets as the dialog result.

Return to bug 126876