1) Reintroduced some out commented methods. (Did break some preference settings)
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / src / net / sourceforge / phpdt / externaltools / actions / PHPStopApacheAction.java
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
7
8  Contributors:
9  IBM Corporation - Initial implementation
10  www.phpeclipse.de
11  **********************************************************************/
12 package net.sourceforge.phpdt.externaltools.actions;
13
14 import net.sourceforge.phpeclipse.externaltools.ExternalToolsPlugin;
15
16 import org.eclipse.jface.action.IAction;
17 import org.eclipse.jface.preference.IPreferenceStore;
18
19 public class PHPStopApacheAction extends PHPStartApacheAction {
20         public void run(IAction action) {
21                 final IPreferenceStore store = ExternalToolsPlugin.getDefault()
22                                 .getPreferenceStore();
23                 // execute(store.getString(PHPeclipsePlugin.APACHE_STOP_PREF), "Stop
24                 // Apache: ");
25                 execute("apache_stop", store
26                                 .getString(ExternalToolsPlugin.APACHE_RUN_PREF), store
27                                 .getString(ExternalToolsPlugin.APACHE_STOP_PREF), store
28                                 .getBoolean(ExternalToolsPlugin.APACHE_STOP_BACKGROUND));
29         }
30 }