import org.eclipse.jface.preference.IPreferenceStore;
public class PHPRestartApacheAction extends PHPStartApacheAction {
- public void run(IAction action) {
- final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
- execute(store.getString(PHPeclipsePlugin.APACHE_RESTART_PREF), "Restart Apache: ");
- }
+ public void run(IAction action) {
+ final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
+ // execute(store.getString(PHPeclipsePlugin.APACHE_RESTART_PREF), "Restart Apache: ");
+ execute(
+ "apache_restart",
+ store.getString(PHPeclipsePlugin.APACHE_RUN_PREF),
+ store.getString(PHPeclipsePlugin.APACHE_RESTART_PREF),
+ store.getBoolean(PHPeclipsePlugin.APACHE_RESTART_BACKGROUND));
+ }
}