package net.sourceforge.phpdt.httpquery; import net.sourceforge.phpdt.httpquery.config.Configuration; import net.sourceforge.phpdt.httpquery.config.ConfigurationWorkingCopy; import net.sourceforge.phpdt.phphelp.PHPHelpPlugin; public class GoogleAction extends AbstractHTTPQueryAction { public GoogleAction() { super(); } protected Configuration getConfiguration() { ConfigurationWorkingCopy config = new ConfigurationWorkingCopy(); config.setName("Google Search"); config.setURL("http://www.google.com/search?q=$text.selection"); config.setType(PHPHelpPlugin.HTTP_QUERY); return config; } }