Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms')
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore2
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp102
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp27
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp127
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp133
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp114
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp149
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp89
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp50
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp20
-rw-r--r--bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp85
11 files changed, 0 insertions, 898 deletions
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore
deleted file mode 100644
index 5738ffe94..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.java
-*.class
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp
deleted file mode 100644
index c2b356710..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/OpenWSILForm.jsp
+++ /dev/null
@@ -1,102 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2006 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
- * yyyymmdd bug Email and other contact information
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.FormTool,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-WSILPerspective wsilPerspective = controller.getWSILPerspective();
-FormTool formTool = (FormTool)wsilPerspective.getNodeManager().getSelectedNode().getToolManager().getSelectedTool();
-%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html lang="<%=response.getLocale().getLanguage()%>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_OPEN_WSIL")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/>
-<jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
-<jsp:include page="/scripts/formutils.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/OpenWSILActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)">
- <%
- String titleImagePath = "wsil/images/open_wsil_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_OPEN_WSIL");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td class="labels">
- <%=wsilPerspective.getMessage("FORM_LABEL_OPEN_WSIL_DESC")%>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=25 valign="bottom">
- <label for="input_wsil_url"><%=wsilPerspective.getMessage("WSIL_URL")%></label>
- <%
- if (!formTool.isInputValid(WsilActionInputs.WSIL_URL)) {
- %>
- <%=HTMLUtils.redAsterisk()%>
- <%
- }
- String wsilURL = (String)formTool.getProperty(WsilActionInputs.WSIL_URL);
- if (wsilURL == null)
- wsilURL = "";
- %>
- </td>
- </tr>
- <tr>
- <td>
- <input type="text" id="input_wsil_url" name="<%=WsilActionInputs.WSIL_URL%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilURL)%>" size="50" class="textenter">
- </td>
- </tr>
- </table>
- <%
- String inspectionTypeString = (String)formTool.getProperty(WsilActionInputs.WSIL_INSPECTION_TYPE);
- int inspectionType = WsilActionInputs.WSIL_DETAILS;
- if (inspectionTypeString != null)
- inspectionType = Integer.parseInt(inspectionTypeString);
- %>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td class="labels" height=30 valign="bottom">
- <label for="inspection_type"><%=wsilPerspective.getMessage("FORM_LABEL_CHOOSE_WSIL_INSPECTION_TYPE")%></label>
- </td>
- </tr>
- <tr>
- <td valign="bottom">
- <select id="inspection_type" name="<%=WsilActionInputs.WSIL_INSPECTION_TYPE%>" class="selectlist">
- <option value="<%=WsilActionInputs.WSIL_DETAILS%>" <% if (inspectionType == WsilActionInputs.WSIL_DETAILS) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_WSIL")%>
- <option value="<%=WsilActionInputs.WSDL_SERVICES%>" <% if (inspectionType == WsilActionInputs.WSDL_SERVICES) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_WSDL_SERVICE")%>
- <option value="<%=WsilActionInputs.UDDI_SERVICES%>" <% if (inspectionType == WsilActionInputs.UDDI_SERVICES) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_SERVICE")%>
- <option value="<%=WsilActionInputs.UDDI_BUSINESSES%>" <% if (inspectionType == WsilActionInputs.UDDI_BUSINESSES) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_BUSINESS")%>
- <option value="<%=WsilActionInputs.WSIL_LINKS%>" <% if (inspectionType == WsilActionInputs.WSIL_LINKS) { %>selected<% } %>><%=wsilPerspective.getMessage("FORM_LABEL_WSIL_LINKS")%>
- </select>
- </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp
deleted file mode 100644
index 532e6da04..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/ProcessWSILFramesetsForm.jsp
+++ /dev/null
@@ -1,27 +0,0 @@
-<%
-/*******************************************************************************
- * 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.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
-%>
-<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"/>
-<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"/>
-<form action="<%=response.encodeURL(controller.getPathWithContext(formAction.toString()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" style="margin-top:0;margin-bottom:0">
- <input name="<%=ActionInputs.FRAME_NAME%>" type="hidden" value="<%=formFrameName%>">
- <input name="<%=WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>" type="hidden" value="<%=wsilPerspective.getPerspectiveContentFramesetCols()%>">
- <input name="<%=WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>" type="hidden" value="<%=wsilPerspective.getActionsContainerFramesetRows()%>">
-</form>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp
deleted file mode 100644
index d6be9c5ab..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiBusinessDetailsPage.jsp
+++ /dev/null
@@ -1,127 +0,0 @@
-<%
-/*******************************************************************************
- * 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.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToUDDIPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- String inquiryAPI = null;
- String businessKey = null;
- String discoveryURL = null;
- WsilUddiBusinessElement link = null;
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllUDDILinks().getElementWithViewId(viewID);
- link = (WsilUddiBusinessElement)le.getObject();
- if (link != null) {
- abstracts.addAll(link.getLinkAbstracts());
- abstractLangs.addAll(link.getLinkAbstractLangs());
- inquiryAPI = link.getUDDILinkInquiryAPI();
- businessKey = link.getUDDILinkBusinessKey();
- discoveryURL = link.getUDDILinkDiscoveryURL();
- }
- }
-%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html lang="<%=response.getLocale().getLanguage()%>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_UDDI_BUSINESS_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_UDDI_LINK_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && link != null) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=viewID%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_INQUIRY_API")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((inquiryAPI != null) ? inquiryAPI : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_BUSINESS_KEY")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((businessKey != null) ? businessKey : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_DISCOVERY_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((discoveryURL != null) ? discoveryURL : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
-<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>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp
deleted file mode 100644
index 0296c2abb..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/UddiServiceDetailsPage.jsp
+++ /dev/null
@@ -1,133 +0,0 @@
-<%
-/*******************************************************************************
- * 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.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToUDDIPerspectiveAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="nameLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="names" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- String inquiryAPI = null;
- String serviceKey = null;
- String discoveryURL = null;
- WsilServiceElement service = null;
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllUDDIServices().getElementWithViewId(viewID);
- service = (WsilServiceElement)le.getObject();
- if (service != null) {
- names.addAll(service.getServiceNames());
- nameLangs.addAll(service.getServiceNameLangs());
- abstracts.addAll(service.getServiceAbstracts());
- abstractLangs.addAll(service.getServiceAbstractLangs());
- inquiryAPI = ((WsilUddiServiceElement)service).getUDDIServiceInquiryAPI();
- serviceKey = ((WsilUddiServiceElement)service).getUDDIServiceKey();
- discoveryURL = ((WsilUddiServiceElement)service).getUDDIServiceDiscoveryURL();
- }
- }
-%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html lang="<%=response.getLocale().getLanguage()%>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_UDDI_SERVICE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_SERVICE_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && service != null) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=viewID%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_INQUIRY_API")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((inquiryAPI != null) ? inquiryAPI : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_SERVICE_KEY")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((serviceKey != null) ? serviceKey : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <br>
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_DISCOVERY_URL")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=((discoveryURL != null) ? discoveryURL : wsilPerspective.getMessage("FORM_LABEL_NA"))%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilNameTable.jsp" flush="true"/>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
-<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>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp
deleted file mode 100644
index 0e08fb6b0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WSILImportWSILToWorkbenchForm.jsp
+++ /dev/null
@@ -1,114 +0,0 @@
-<%
-/*******************************************************************************
- * Copyright (c) 2001, 2006 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
- * yyyymmdd bug Email and other contact information
- * -------- -------- -----------------------------------------------------------
- * 20060427 127443 jesper@selskabet.org - Jesper S Moller
- *******************************************************************************/
-%>
-<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.util.*,
- org.eclipse.core.resources.*,
- org.eclipse.core.runtime.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
-WSILPerspective wsilPerspective = controller.getWSILPerspective();
-NodeManager nodeManager = wsilPerspective.getNodeManager();
-Node selectedNode = nodeManager.getSelectedNode();
-WsilElement wsilElement = (WsilElement)selectedNode.getTreeElement();
-%>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html lang="<%=response.getLocale().getLanguage()%>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=controller.getMessage("FORM_TITLE_IMPORT_TO_WORKBENCH")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/scripts/formsubmit.jsp" flush="true"/>
- <jsp:include page="/scripts/formutils.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data">
- <input type="hidden" name="<%=ActionInputs.IMPORT_FILE%>" value="<%=ActionInputs.IMPORT_FILE%>">
- <%
- String titleImagePath = "images/import_to_workbench_highlighted.gif";
- String title = wsilPerspective.getMessage("ATL_IMPORT_WSIL_TO_WORKBENCH");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <table>
- <tr>
- <td>
- <%=wsilPerspective.getMessage("FORM_LABEL_IMPORT_WSIL_TO_WORKBENCH_DESC")%>
- </td>
- </tr>
- </table>
- <table>
- <tr>
- <td class="labels" height=40 valign="center">
- <label for="select_workbench_project_name"><%=controller.getMessage("WORKBENCH_PROJECT_NAME")%></label>
- </td>
- <td class="labels" height=40 valign="center" nowrap>
- <%
- IWorkspaceRoot iWorkspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
- IProject[] projects = iWorkspaceRoot.getProjects();
- %>
- <select id="select_workbench_project_name" name="<%=ActionInputs.WORKBENCH_PROJECT_NAME%>" class="selectlist">
- <%
- for (int i = 0; i < projects.length; i++)
- {
- try
- {
- if (!projects[i].isOpen())
- continue;
- String projectName = projects[i].getName();
- %>
- <option value="<%=projectName%>"><%=projectName%>
- <%
- }
- catch (Exception e) {}
- }
- %>
- </select>
- </td>
- </tr>
- </table>
- <table width="95%" border=0 cellpadding=3 cellspacing=0>
- <tr>
- <td>
- <label for="input_imported_wsil_file_name"><%=controller.getMessage("WSIL_FILE_NAME")%></label>
- </td>
- </tr>
- <tr>
- <td height=10 valign="bottom" width="60%">
-<%
- String wsilFileName = "temp.wsil";
- String wsilURL = wsilElement.getWsilUrl();
- if (wsilURL.endsWith(".wsil"))
- {
- int lastSeparatorPos = Math.max(wsilURL.lastIndexOf("/"), wsilURL.lastIndexOf("\\"));
- if (lastSeparatorPos > 0)
- wsilFileName = wsilURL.substring(lastSeparatorPos+1, wsilURL.length());
- }
-%>
- <input type="text" id="input_imported_wsil_file_name" name="<%=ActionInputs.IMPORTED_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilFileName)%>" size=50 class="textenter">
- </td>
- </tr>
- </table>
-<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/>
- </form>
-</div>
-</body>
-</html>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp
deleted file mode 100644
index c422434f8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsdlServiceDetailsPage.jsp
+++ /dev/null
@@ -1,149 +0,0 @@
-<%
-/*******************************************************************************
- * 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.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.apache.wsil.QName,
- java.util.Vector,
- java.util.Enumeration" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="nameLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="names" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- String bindingTable = "bindingTable";
- String xbindingTable = "xbindingTable";
-
- WSILPerspective wsilPerspective =controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- WsilServiceElement service = null;
- String wsdlURL = null;
- Vector wsdlBindings = new Vector();
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllWSDLServices().getElementWithViewId(viewID);
- service = (WsilServiceElement)le.getObject();
- if (service != null) {
- names.addAll(service.getServiceNames());
- nameLangs.addAll(service.getServiceNameLangs());
- abstracts.addAll(service.getServiceAbstracts());
- abstractLangs.addAll(service.getServiceAbstractLangs());
- wsdlURL = ((WsilWsdlServiceElement)service).getWSDLServiceURL();
- wsdlBindings = ((WsilWsdlServiceElement)service).getWSDLBinding();
- }
- }
-%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html lang="<%=response.getLocale().getLanguage()%>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_WSDL_SERVICE_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/>
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_SERVICE_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && service != null) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=viewID%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=wsdlURL%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilNameTable.jsp" flush="true"/>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
- <table border=0 cellpadding=6 cellspacing=0>
- <tr>
- <td height=40 valign="bottom" align="left" nowrap width=11>
- <a href="javascript:twist('<%=bindingTable%>','<%=xbindingTable%>')"><img name="<%=xbindingTable%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a>
- </td>
- <td height=40 valign="bottom" align="left" nowrap class="labels">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_WSDL_BINDINGS")%></strong>
- </td>
- </tr>
- </table>
-
- <table width="95%" border=0 cellpadding=0 cellspacing=0>
- <tr>
- <td valign="top" height=10><img src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>" alt="" height=2 width="100%"></td>
- </tr>
- </table>
-
- <div id="<%=bindingTable%>">
- <table width="95%" cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_NAMESPACE_URI")%></th>
- <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_LOCAL_NAME")%></th>
- </tr>
- <%
- Enumeration e = wsdlBindings.elements();
- while (e.hasMoreElements()) {
- QName qname = (QName)e.nextElement();
- %>
- <tr>
- <td class="tablecells" nowrap><%=qname.getNamespaceURI()%></td>
- <td class="tablecells" nowrap><%=qname.getLocalName()%></td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- <script language="javascript">
- twistInit('<%=bindingTable%>','<%=xbindingTable%>');
- </script>
-
-<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>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp
deleted file mode 100644
index 6e89771e8..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilDetailsPage.jsp
+++ /dev/null
@@ -1,89 +0,0 @@
-<%
-/*******************************************************************************
- * 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.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.TreeElement,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.WSILPerspective,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.WsilElement,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction,
- java.util.Enumeration" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective =controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- TreeElement selectedElement = selectedNode.getTreeElement();
- WsilElement wsilElement = null;
- if (selectedElement instanceof WsilElement) {
- wsilElement = (WsilElement)selectedElement;
- abstracts.addAll(wsilElement.getWSILAbstracts());
- abstractLangs.addAll(wsilElement.getWSILAbstractLangs());
- }
-%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html lang="<%=response.getLocale().getLanguage()%>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_WSIL_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
- <jsp:include page="/wsil/scripts/wsilFormSubmit.jsp" flush="true"/>
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>">
-
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement) {
- %>
- <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>">
- <input type="hidden" name="<%=ActionInputs.VIEWID%>" value="<%=ActionInputs.VIEWID_DEFAULT%>">
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <strong><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></strong>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=wsilElement.getWsilUrl()%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-
-<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>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp
deleted file mode 100644
index ceaff7f65..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilImportWSDLToWorkbenchForm.jsp
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-/*******************************************************************************
- * 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.wsil.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*" %>
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<%
- WSILPerspective wsilPerspective = controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- Tool selectedTool = selectedNode.getToolManager().getSelectedTool();
-%>
-<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request">
-<%
- if (selectedTool instanceof ListWSDLServicesTool)
- {
- int viewId = selectedNode.getViewId();
- WsilElement wsilElement = (WsilElement)selectedNode.getTreeElement();
- ListElement le = wsilElement.getAllWSDLServices().getElementWithViewId(viewId);
- WsilWsdlServiceElement wsilWsdlServiceElement = (WsilWsdlServiceElement)le.getObject();
- formProperties.put("wsdlURL",wsilWsdlServiceElement.getWSDLServiceURL());
- }
- formProperties.put("formActionLink","wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp");
-%>
-</jsp:useBean>
-<%
- if (selectedTool instanceof ListWSDLServicesTool)
- {
-%>
-<jsp:include page="/forms/ImportWSDLAndWSILToWorkbenchForm.jsp" flush="true"/>
-<%
- }
- else if (selectedTool instanceof ListUDDIServicesTool)
- {
-%>
-<jsp:include page="/forms/ImportToWorkbenchForm.jsp" flush="true"/>
-<%
- }
-%>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp
deleted file mode 100644
index 799195ec7..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLaunchWebServiceWizardForm.jsp
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-/*******************************************************************************
- * 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" %>
-
-<jsp:useBean id="formActionLink" class="java.lang.StringBuffer" scope="request">
-<%
- formActionLink.append("wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp");
-%>
-</jsp:useBean>
-<jsp:include page="/forms/LaunchWebServiceWizardForm.jsp" flush="true"/>
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp
deleted file mode 100644
index 3264a3bd0..000000000
--- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/forms/WsilLinkDetailsPage.jsp
+++ /dev/null
@@ -1,85 +0,0 @@
-<%
-/*******************************************************************************
- * 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.perspective.*,
- org.eclipse.wst.ws.internal.explorer.platform.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*,
- org.eclipse.wst.ws.internal.explorer.platform.wsil.perspective.*" %>
-
-<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/>
-<jsp:useBean id="abstractLangs" class="java.util.Vector" scope="request"/>
-<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/>
-<%
- WSILPerspective wsilPerspective =controller.getWSILPerspective();
- NodeManager nodeManager = wsilPerspective.getNodeManager();
- Node selectedNode = nodeManager.getSelectedNode();
- ToolManager currentToolManager = selectedNode.getCurrentToolManager();
- int viewID = selectedNode.getViewId();
- TreeElement selectedElement = selectedNode.getTreeElement();
- WsilWsilLinkElement link = null;
- if (selectedElement instanceof WsilElement) {
- ListElement le = ((WsilElement)selectedElement).getAllWSILLinks().getElementWithViewId(viewID);
- link = (WsilWsilLinkElement)le.getObject();
- if (link != null) {
- abstractLangs.addAll(link.getLinkAbstractLangs());
- abstracts.addAll(link.getLinkAbstracts());
- }
- }
-%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html lang="<%=response.getLocale().getLanguage()%>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><%=wsilPerspective.getMessage("FORM_TITLE_WSIL_LINK_DETAILS")%></title>
- <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>">
-</head>
-<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin">
-<div id="contentborder">
- <%
- String titleImagePath = "images/details_highlighted.gif";
- String title = wsilPerspective.getMessage("ALT_WSIL_LINK_DETAILS");
- %>
- <%@ include file = "/forms/formheader.inc" %>
- <%
- if (selectedElement instanceof WsilElement && link != null) {
- %>
-
- <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder">
- <tr>
- <th class="singleheadercolor" height=20 valign="bottom" align="left">
- <%=wsilPerspective.getMessage("FORM_LABEL_URL")%>
- </th>
- </tr>
- <tr>
- <td class="tablecells">
- <%=link.getWSILLinkLocation()%>
- </td>
- </tr>
- </table>
-
- <jsp:include page="/wsil/scripts/wsilAbstractTable.jsp" flush="true"/>
-<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