--- /dev/null
+/*******************************************************************************\r
+ * Copyright (c) 2016 Association for Decentralized Information Management\r
+ * in Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ * THTH ry - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.debug.browser.sections;\r
+\r
+import java.io.PrintWriter;\r
+\r
+import org.simantics.db.ReadGraph;\r
+import org.simantics.db.exception.DatabaseException;\r
+\r
+/**\r
+ * @author Jani Simomaa / Semantum Oy\r
+ * @since 1.22\r
+ */\r
+public class ResourceLookupSection implements ResourceBrowserSection {\r
+\r
+ @Override\r
+ public double getPriority() {\r
+ return -1;\r
+ }\r
+\r
+ @Override\r
+ public void toHtml(ReadGraph graph, PrintWriter out) throws DatabaseException {\r
+ out.println("<div class=\"resourceLookupSection\">");\r
+ out.println("<form class=\"resource-search\" method=\"POST\">");\r
+ out.println("<input type=\"text\" name=\"resource-input\" placeholder=\"Enter resource URI or ID\" />");\r
+ out.println("<button type=\"submit\">Search</button>");\r
+ out.println("</form>");\r
+ out.println("</div>");\r
+ }\r
+\r
+}\r