1436190 - Test additions & refactoring
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / httpquery / PHPHelpAction.java
1 package net.sourceforge.phpdt.httpquery;
2
3 import net.sourceforge.phpdt.httpquery.config.Configuration;
4 import net.sourceforge.phpdt.httpquery.config.ConfigurationWorkingCopy;
5 import net.sourceforge.phpdt.phphelp.PHPHelpPlugin;
6
7
8 public class PHPHelpAction extends HTTPQueryAction {
9
10   public PHPHelpAction() {
11     super();
12   }
13
14   protected Configuration getConfiguration(String name) {
15         Configuration conf = super.getConfiguration("PHP Manual");
16                 if (conf != null) {
17                         return conf;
18                 }
19     ConfigurationWorkingCopy config = new ConfigurationWorkingCopy();
20     config.setName("PHP Manual");
21     config.setURL("http://www.php.net/manual/en/function.$php.selection.php");
22     config.setType(PHPHelpPlugin.HTTP_QUERY);
23     return config;
24   }
25 }