remove unnecessary extension.
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / httpquery / KodersAction.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 KodersAction extends HTTPQueryAction {
8
9         public KodersAction() {
10                 super();
11         }
12
13         protected Configuration getConfiguration(String name) {
14                 Configuration conf = super.getConfiguration("Koders.com");
15                 if (conf != null) {
16                         return conf;
17                 }
18                 ConfigurationWorkingCopy config = new ConfigurationWorkingCopy();
19                 config.setName("Koders.com");
20                 config.setURL("http://koders.com/?s=$text.selection");
21                 config.setType(PHPHelpPlugin.HTTP_QUERY);
22                 return config;
23         }
24 }