Community
Participate
Working Groups
Project properties > PHP Debug There are no 'Restore Defaults' and 'Apply' buttons. Instant patch is below but I guess this page(org.eclipse.php.internal.debug.ui.preferences.PHPDebugPropertyPreferencePage) should be rewritten based on common class(?org.eclipse.php.internal.ui.preferences.PropertyAndPreferencePage?) I'm not sure. ### Eclipse Workspace Patch 1.0 #P org.eclipse.php.ui Index: src/org/eclipse/php/internal/ui/preferences/AbstractPHPPropertyPreferencePage.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.pdt/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/preferences/AbstractPHPPropertyPreferencePage.java,v retrieving revision 1.8 diff -u -r1.8 AbstractPHPPropertyPreferencePage.java --- src/org/eclipse/php/internal/ui/preferences/AbstractPHPPropertyPreferencePage.java 28 May 2009 19:50:38 -0000 1.8 +++ src/org/eclipse/php/internal/ui/preferences/AbstractPHPPropertyPreferencePage.java 2 Jun 2009 12:12:01 -0000 @@ -192,9 +192,9 @@ } public void createControl(Composite parent) { - if (getProject() != null) { - noDefaultAndApplyButton(); - } +// if (getProject() != null) { +// noDefaultAndApplyButton(); +// } super.createControl(parent); }
Calling noDefaultAndApplyButton() is something you have to intentionally do. What happens if the buttons are restored and someone actually clicks "Restore Defaults" with this patch?