1 package net.sourceforge.phpdt.httpquery;
3 import net.sourceforge.phpdt.httpquery.config.Configuration;
4 import net.sourceforge.phpdt.httpquery.config.ConfigurationWorkingCopy;
5 import net.sourceforge.phpdt.phphelp.PHPHelpPlugin;
7 public class GoogleAction extends HTTPQueryAction {
9 public GoogleAction() {
13 protected Configuration getConfiguration(String name) {
14 Configuration conf = super.getConfiguration("Google.com");
18 ConfigurationWorkingCopy config = new ConfigurationWorkingCopy();
19 config.setName("Google.com");
20 config.setURL("http://www.google.com/search?q=$text.selection");
21 config.setType(PHPHelpPlugin.HTTP_QUERY);