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 311940
Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/activities/ActivityCategoryPreferencePage.java (-4 / +8 lines)
Lines 16-22 Link Here
16
import java.util.Iterator;
16
import java.util.Iterator;
17
import java.util.Properties;
17
import java.util.Properties;
18
import java.util.Set;
18
import java.util.Set;
19
20
import org.eclipse.core.runtime.IConfigurationElement;
19
import org.eclipse.core.runtime.IConfigurationElement;
21
import org.eclipse.core.runtime.IExecutableExtension;
20
import org.eclipse.core.runtime.IExecutableExtension;
22
import org.eclipse.jface.dialogs.Dialog;
21
import org.eclipse.jface.dialogs.Dialog;
Lines 435-441 Link Here
435
            }
434
            }
436
        });
435
        });
437
        enableAll.setText(ActivityMessages.ActivityEnabler_selectAll); 
436
        enableAll.setText(ActivityMessages.ActivityEnabler_selectAll); 
438
        setButtonLayoutData(enableAll);
437
		setFontAndButtonLayoutData(enableAll);
439
438
440
        Button disableAll = new Button(composite, SWT.PUSH);
439
        Button disableAll = new Button(composite, SWT.PUSH);
441
        disableAll.addSelectionListener(new SelectionAdapter() {
440
        disableAll.addSelectionListener(new SelectionAdapter() {
Lines 449-455 Link Here
449
            }
448
            }
450
        });
449
        });
451
        disableAll.setText(ActivityMessages.ActivityEnabler_deselectAll); 
450
        disableAll.setText(ActivityMessages.ActivityEnabler_deselectAll); 
452
        setButtonLayoutData(disableAll);
451
		setFontAndButtonLayoutData(disableAll);
453
        
452
        
454
        if (allowAdvanced) {
453
        if (allowAdvanced) {
455
        		Label spacer = new Label(composite, SWT.NONE);
454
        		Label spacer = new Label(composite, SWT.NONE);
Lines 469-478 Link Here
469
                }
468
                }
470
            });
469
            });
471
            advancedButton.setText(ActivityMessages.ActivitiesPreferencePage_advancedButton);
470
            advancedButton.setText(ActivityMessages.ActivitiesPreferencePage_advancedButton);
472
            setButtonLayoutData(advancedButton);
471
			setFontAndButtonLayoutData(advancedButton);
473
        }
472
        }
474
    }
473
    }
475
474
475
	private void setFontAndButtonLayoutData(Button button) {
476
		button.setFont(JFaceResources.getDialogFont());
477
		setButtonLayoutData(button);
478
	}
479
476
    /**
480
    /**
477
     * @param parent
481
     * @param parent
478
     */
482
     */

Return to bug 311940