Organized Imports
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / PHPStopApacheAction.java
index abb288d..22e9d8f 100644 (file)
@@ -17,8 +17,13 @@ import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.preference.IPreferenceStore;
 
 public class PHPStopApacheAction extends PHPStartApacheAction {
-       public void run(IAction action) {
-               final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
-               execute(store.getString(PHPeclipsePlugin.APACHE_STOP_PREF), "Stop Apache: ");
-       }
+  public void run(IAction action) {
+    final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
+    //         execute(store.getString(PHPeclipsePlugin.APACHE_STOP_PREF), "Stop Apache: ");
+    execute(
+      "apache_stop",
+      store.getString(PHPeclipsePlugin.APACHE_RUN_PREF),
+      store.getString(PHPeclipsePlugin.APACHE_STOP_PREF),
+      store.getBoolean(PHPeclipsePlugin.APACHE_STOP_BACKGROUND));
+  }
 }