Added "Toggle PHP Breakpoint" to left Editor ruler
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / src / net / sourceforge / phpdt / internal / debug / ui / launcher / PHPLaunchShortcut.java
index 3fbd8e2..5a3cafb 100644 (file)
@@ -34,7 +34,8 @@ public class PHPLaunchShortcut implements ILaunchShortcut {
                                if (
              ((IFile) firstSelection).getFileExtension().equals("php") ||
              ((IFile) firstSelection).getFileExtension().equals("php3") ||
-             ((IFile) firstSelection).getFileExtension().equals("php4")
+             ((IFile) firstSelection).getFileExtension().equals("php4") ||
+             ((IFile) firstSelection).getFileExtension().equals("php5")
             ) {
                                        ILaunchConfiguration config = findLaunchConfiguration((IFile)firstSelection, mode);
                                        try {
@@ -108,10 +109,10 @@ public class PHPLaunchShortcut implements ILaunchShortcut {
        }
        
        protected void log(String message) {
-               PHPDebugUiPlugin.getDefault().log(new Status(Status.INFO, PHPDebugUiPlugin.PLUGIN_ID, Status.INFO, message, null));
+               PHPDebugUiPlugin.log(new Status(Status.INFO, PHPDebugUiPlugin.PLUGIN_ID, Status.INFO, message, null));
        }
        
        protected void log(Throwable t) {
-               PHPDebugUiPlugin.getDefault().log(t);
+               PHPDebugUiPlugin.log(t);
        }
 }