Open PHP Help Online Manual in the browser / add other http querie for google and...
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / httpquery / GoogleAction.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 GoogleAction extends AbstractHTTPQueryAction {
9
10   public GoogleAction() {
11     super();
12   }
13
14   protected Configuration getConfiguration() {
15     ConfigurationWorkingCopy config = new ConfigurationWorkingCopy();
16     config.setName("Google Search");
17     config.setURL("http://www.google.com/search?q=$text.selection");
18     config.setType(PHPHelpPlugin.HTTP_QUERY);
19     return config;
20   }
21
22 }