1 /**********************************************************************
2 Copyright (c) 2000, 2002 IBM Corp. and others.
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Common Public License v1.0
5 which accompanies this distribution, and is available at
6 http://www.eclipse.org/legal/cpl-v10.html
9 IBM Corporation - Initial implementation
11 **********************************************************************/
12 package net.sourceforge.phpdt.externaltools.actions;
15 import net.sourceforge.phpeclipse.externaltools.ExternalToolsPlugin;
17 import org.eclipse.jface.action.IAction;
18 import org.eclipse.jface.preference.IPreferenceStore;
20 public class PHPRestartApacheAction extends PHPStartApacheAction {
21 public void run(IAction action) {
22 final IPreferenceStore store = ExternalToolsPlugin.getDefault().getPreferenceStore();
23 // execute(store.getString(PHPeclipsePlugin.APACHE_RESTART_PREF), "Restart Apache: ");
26 store.getString(ExternalToolsPlugin.APACHE_RUN_PREF),
27 store.getString(ExternalToolsPlugin.APACHE_RESTART_PREF),
28 store.getBoolean(ExternalToolsPlugin.APACHE_RESTART_BACKGROUND));