#1493165 phpeclise highlighting fails when using special echo "<<<"
[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 public class GoogleAction extends HTTPQueryAction {
8
9         public GoogleAction() {
10                 super();
11         }
12
13         protected Configuration getConfiguration(String name) {
14                 Configuration conf = super.getConfiguration("Google.com");
15                 if (conf != null) {
16                         return conf;
17                 }
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);
22                 return config;
23         }
24
25 }