909f29c4f5140e1df1e8d211cb17d8d0f413478a
[phpeclipse.git] /
1 package net.sourceforge.phpeclipse.wiki.actions.httpquery;
2
3 import net.sourceforge.phpeclipse.wiki.editor.WikiEditorPlugin;
4 import net.sourceforge.phpeclipse.wiki.internal.ConfigurationWorkingCopy;
5 import net.sourceforge.phpeclipse.wiki.internal.IConfiguration;
6
7
8 public class KodersAction extends AbstractHTTPQueryAction {
9
10   public KodersAction() {
11     super();
12   }
13
14   protected IConfiguration getUrl() {
15     ConfigurationWorkingCopy config = new ConfigurationWorkingCopy();
16     config.setName("Koders.com Search");
17     config.setURL("http://koders.com/?s=$text.selection");
18     config.setType(WikiEditorPlugin.HTTP_QUERY);
19     return config;
20   }
21 }