X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/httpquery/LocalhostAction.java b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/httpquery/LocalhostAction.java new file mode 100644 index 0000000..48c6696 --- /dev/null +++ b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/httpquery/LocalhostAction.java @@ -0,0 +1,25 @@ +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 LocalhostAction extends HTTPQueryAction { + + public LocalhostAction() { + super(); + } + + protected Configuration getConfiguration(String name) { + Configuration conf = super.getConfiguration("Localhost"); + if (conf != null) { + return conf; + } + ConfigurationWorkingCopy config = new ConfigurationWorkingCopy(); + config.setName("Localhost"); + config.setURL("http://localhost"); + config.setType(PHPHelpPlugin.HTTP_QUERY); + return config; + } + +} \ No newline at end of file