Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbrealey2005-04-19 17:35:02 +0000
committercbrealey2005-04-19 17:35:02 +0000
commit971d821534b5c95766bd2839d77be1e4b518d73b (patch)
tree302d5be26445644d36e59abebd479e2e17c19ab3 /bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp
parent8d8e8d6abe52012d9c8a6174777f608a0890b48a (diff)
downloadwebtools.webservices-971d821534b5c95766bd2839d77be1e4b518d73b.tar.gz
webtools.webservices-971d821534b5c95766bd2839d77be1e4b518d73b.tar.xz
webtools.webservices-971d821534b5c95766bd2839d77be1e4b518d73b.zip
[88679] [91880] Refactor Web Services Explorer from component jst.ws to wst.ws / Delete obsolete org.eclipse.wst.ws plugins
Diffstat (limited to 'bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp')
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp104
1 files changed, 104 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp
new file mode 100644
index 000000000..1b9ff1344
--- /dev/null
+++ b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsdl/forms/WSDLDetailsForm.jsp
@@ -0,0 +1,104 @@
+<%
+/*******************************************************************************
+ * Copyright (c) 2001, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+%>
+<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*,
+ org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*,
+ org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*,
+ org.eclipse.wst.ws.internal.explorer.platform.perspective.Node,
+ org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
+ org.eclipse.wst.ws.internal.explorer.platform.constants.*,
+ java.util.*" %>
+
+<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
+<jsp:useBean id="sectionHeaderInfo" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.SectionHeaderInfo" scope="request"/>
+<%
+ WSDLPerspective wsdlPerspective = controller.getWSDLPerspective();
+ Node wsdlNode = wsdlPerspective.getNodeManager().getSelectedNode();
+ ToolManager currentToolManager = wsdlNode.getCurrentToolManager();
+ WSDLDetailsTool wsdlDetailsTool = (WSDLDetailsTool)currentToolManager.getSelectedTool();
+%>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title><%=wsdlPerspective.getMessage("FORM_TITLE_WSDL_DETAILS")%></title>
+ <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
+<jsp:include page="/scripts/tables.jsp" flush="true"/>
+<jsp:include page="/scripts/panes.jsp" flush="true"/>
+<script language="javascript">
+ function switchWSDLDetailsView() {
+ perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("wsdl/actions/SwitchWSDLDetailsViewsActionJSP.jsp"))%>";
+ }
+</script>
+</head>
+<body class="contentbodymargin">
+<div id="contentborder">
+<%
+ String titleImagePath = "wsdl/images/open_wsdl_highlighted.gif";
+ String title = wsdlPerspective.getMessage("ALT_WSDL_DETAILS");
+%>
+<table width="95%" border=0 cellpadding=3 cellspacing=0>
+ <tr>
+ <td>
+ <img src="<%=response.encodeURL(controller.getPathWithContext(titleImagePath))%>" alt="">
+ <strong><%=title%></strong>
+ </td>
+ <td width="*">&nbsp;</td>
+ <td align="right" class="labels">
+<%
+ if (wsdlDetailsTool.getViewId() == WSDLDetailsTool.SOURCE_VIEW_ID)
+ {
+%>
+ <a href="javascript:switchWSDLDetailsView()" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_FORM_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_FORM")%></a>
+<%
+ }
+ else
+ {
+%>
+ <a href="javascript:switchWSDLDetailsView()" title="<%=wsdlPerspective.getMessage("ALT_SWITCH_TO_SOURCE_VIEW")%>"><%=wsdlPerspective.getMessage("FORM_LINK_SOURCE")%></a>
+<%
+ }
+%>
+ </td>
+ </tr>
+ <tr>
+ <td height=20 colspan=3><img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"></td>
+ </tr>
+</table>
+<%
+ if (wsdlDetailsTool.getViewId() == WSDLDetailsTool.FORM_VIEW_ID)
+ {
+%>
+ <jsp:include page="/wsdl/forms/WSDLDetailsFormView.jsp" flush="true"/>
+<%
+ }
+ else
+ {
+%>
+ <table width="95%" height="100%" border=0 cellpadding=0 cellpadding=0>
+ <tr>
+ <td>
+ <iframe src="<%=response.encodeURL(controller.getPathWithContext("/wsdl/forms/WSDLDetailsSourceView.jsp"))%>" width="95%" height="100%"></iframe>
+ </td>
+ </tr>
+ </table>
+<%
+ }
+%>
+<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request">
+<%
+ currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager);
+%>
+</jsp:useBean>
+<jsp:include page="/forms/otherActions.jsp" flush="true"/>
+</div>
+</body>
+</html>

Back to the top