diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms')
10 files changed, 0 insertions, 547 deletions
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportToWorkbenchForm.jsp deleted file mode 100644 index af360b683..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportToWorkbenchForm.jsp +++ /dev/null @@ -1,103 +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.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - 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"/> -<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request"/> -<html> -<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((String)formProperties.get("formActionLink")))%>" 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 = controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td> - <%=controller.getMessage("FORM_LABEL_IMPORT_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 class="labels" height=10 valign="bottom"> - <label for="input_imported_file_name"><%=controller.getMessage("IMPORTED_WSDL_FILE_NAME")%></label> - </td> - </tr> - <tr> - <td height=10 valign="bottom" width="60%"> -<% - String wsdlFileName="temp.wsdl"; - String wsdlURL = (String)formProperties.get("wsdlURL"); - if (wsdlURL != null && wsdlURL.endsWith(".wsdl")) - { - int lastSeparatorPos = Math.max(wsdlURL.lastIndexOf("/"),wsdlURL.lastIndexOf("\\")); - if (lastSeparatorPos > 0) - wsdlFileName = wsdlURL.substring(lastSeparatorPos+1,wsdlURL.length()); - } -%> - <input type="text" id="input_imported_file_name" name="<%=ActionInputs.IMPORTED_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsdlFileName)%>" 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/forms/ImportWSDLAndWSILToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportWSDLAndWSILToWorkbenchForm.jsp deleted file mode 100644 index 8387e4286..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ImportWSDLAndWSILToWorkbenchForm.jsp +++ /dev/null @@ -1,160 +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.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - 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"/> -<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request"/> -<script language="javascript"> - function toggleDivContainer(divId) - { - var divContainer = document.getElementById(divId); - if (divContainer.style.display == "none") - divContainer.style.display = ""; - else - divContainer.style.display = "none"; - } -</script> -<html> -<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((String)formProperties.get("formActionLink")))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data"> - - <% - String titleImagePath = "images/import_to_workbench_highlighted.gif"; - String title = controller.getMessage("ALT_IMPORT_WSDL_TO_WORKBENCH"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td> - <%=controller.getMessage("FORM_LABEL_IMPORT_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 class="labels" height=10 valign="bottom"> - <input type="checkbox" checked id="input_import_wsdl" name="<%=ActionInputs.IMPORT_FILE%>" value="<%=ActionInputs.IMPORT_FILE%>" onClick="toggleDivContainer('div_import_wsdl')"> - <label for="input_import_wsdl"><%=controller.getMessage("LABEL_IMPORT_WSDL")%></label> - </td> - </tr> - </table> - <div id="div_import_wsdl"> - <table width="95%" border=0 cellpadding=3 cellspacing=0> - <tr> - <td> - <label for="input_imported_wsdl_file_name"><%=controller.getMessage("IMPORTED_WSDL_FILE_NAME")%></label> - </td> - </tr> - <tr> - <td height=10 valign="bottom" width="60%"> -<% - String wsdlFileName="temp.wsdl"; - String wsdlURL = (String)formProperties.get("wsdlURL"); - if (wsdlURL != null && wsdlURL.endsWith(".wsdl")) - { - int lastSeparatorPos = Math.max(wsdlURL.lastIndexOf("/"),wsdlURL.lastIndexOf("\\")); - if (lastSeparatorPos > 0) - wsdlFileName = wsdlURL.substring(lastSeparatorPos+1,wsdlURL.length()); - } -%> - <input type="text" id="input_imported_wsdl_file_name" name="<%=ActionInputs.IMPORTED_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsdlFileName)%>" size=50 class="textenter"> - </td> - </tr> - </table> - </div> - - <table width="95%" border=0 cellpadding=3 cellspacing=0> - <tr> - <td class="labels" height=10 valign="bottom"> </td> - </tr> - </table> - - <input type="hidden" name="<%=ActionInputs.IMPORTED_WSDL_URL%>" value="<%=wsdlURL%>"> - <table width="95%" border=0 cellpadding=3 cellspacing=0> - <tr> - <td class="labels" height=10 valign="bottom"> - <input type="checkbox" id="input_import_wsil" name="<%=ActionInputs.IMPORT_TO_WSIL%>" value="<%=ActionInputs.IMPORT_TO_WSIL%>" onClick="toggleDivContainer('div_import_wsil')"> - <label for="input_import_wsil"><%=controller.getMessage("LABEL_IMPORT_TO_WSIL")%></label> - </td> - </tr> - </table> - <div id="div_import_wsil" style="display:none;"> - <table width="95%" border=0 cellpadding=3 cellspacing=0> - <tr> - <td class="labels" height=10 valign="bottom"> - <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 = (String)formProperties.get("wsilFileName"); - if (wsilFileName == null || wsilFileName.length() <= 0) - wsilFileName = wsdlFileName.substring(0, wsdlFileName.length()-4) + "wsil"; -%> - <input type="text" id="input_imported_wsil_file_name" name="<%=ActionInputs.WSIL_FILE_NAME%>" value="<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilFileName)%>" size=50 class="textenter"> - </td> - </tr> - </table> - </div> - -<jsp:include page="/forms/simpleCommon_table.jsp" flush="true"/> - </form> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/LaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/LaunchWebServiceWizardForm.jsp deleted file mode 100644 index 704131819..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/LaunchWebServiceWizardForm.jsp +++ /dev/null @@ -1,57 +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.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - 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"/> -<jsp:useBean id="formActionLink" class="java.lang.StringBuffer" scope="request"/> -<html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <title><%=controller.getMessage("FORM_TITLE_LAUNCH_WEBSERVICE_WIZARD")%></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(formActionLink.toString()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data"> - -<% - String titleImagePath = "images/launch_wswizard_highlighted.gif"; - String title = controller.getMessage("ALT_LAUNCH_WEB_SERVICE_WIZARD"); -%> -<%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels" height=20 valign="bottom"> - <%=controller.getMessage("FORM_LABEL_CHOOSE_WIZARD")%> - </td> - </tr> - <tr> - <td> - <input type="radio" id="radio_ws_client_wizard" class="radio" name="<%=ActionInputs.WEB_SERVICE_WIZARD%>" checked=true value="<%=String.valueOf(ActionInputs.WEB_SERVICE_CLIENT_WIZARD)%>"><label for="radio_ws_client_wizard"><%=controller.getMessage("FORM_RADIO_WEB_SERVICE_CLIENT_WIZARD")%></label> - </td> - </tr> - <tr> - <td> - <input type="radio" id="radio_ws_skeleton_wizard" class="radio" name="<%=ActionInputs.WEB_SERVICE_WIZARD%>" value="<%=String.valueOf(ActionInputs.WEB_SERVICE_SKELETON_WIZARD)%>"><label for="radio_ws_skeleton_wizard"><%=controller.getMessage("FORM_RADIO_WEB_SERVICE_SKELETON_WIZARD")%></label> - </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/forms/ProxyLoadContent.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadContent.jsp deleted file mode 100644 index 918e5703f..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadContent.jsp +++ /dev/null @@ -1,73 +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.*" %> - -<% - String sessionId = request.getParameter(ActionInputs.SESSIONID); - Controller controller; - StringBuffer targetContentLink = new StringBuffer(request.getParameter(ActionInputs.TARGET_PAGE)); - if (sessionId != null) - { - HttpSession currentSession = (HttpSession)application.getAttribute(sessionId); - controller = (Controller)currentSession.getAttribute("controller"); - if (targetContentLink.toString().indexOf("?") != -1) - targetContentLink.append('&'); - else - targetContentLink.append('?'); - targetContentLink.append(ActionInputs.SESSIONID).append('=').append(sessionId); - } - else - controller = (Controller)session.getAttribute("controller"); - -%> -<html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <title><%=controller.getMessage("FORM_TITLE_PAGE_LOADER")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> -<script language="javascript"> - function loadContent() - { - var frameset = parent.document.getElementById("proxyPage"); - var contentFrame = frameset.getElementsByTagName("frame").item(1); - contentFrame.src = "<%=response.encodeURL(controller.getPathWithContext(targetContentLink.toString()))%>"; - } - - function handleCompletion() - { - var table = document.getElementsByTagName("table").item(0); - var tBody = table.getElementsByTagName("TBODY").item(0); - var doneRow = document.createElement("tr"); - var doneColumn = document.createElement("td"); - doneColumn.appendChild(document.createTextNode("Page loaded.")); - doneRow.appendChild(doneColumn); - tBody.appendChild(doneRow); - } -</script> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin"> - <div id="contentborder"> - <table> - <tr> - <td class="labels"> - <%=controller.getMessage("MSG_LOAD_IN_PROGRESS")%> - </td> - </tr> - </table> - </div> -<script language="javascript"> - loadContent(); -</script> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadPage.jsp deleted file mode 100644 index a62462e0d..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/ProxyLoadPage.jsp +++ /dev/null @@ -1,36 +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.util.URLUtils, - java.util.*, - java.net.*" %> - -<% - String sessionId = request.getParameter(ActionInputs.SESSIONID); - Controller controller; - StringBuffer loadContentLink = new StringBuffer("forms/ProxyLoadContent.jsp?"); - if (sessionId != null) - { - HttpSession currentSession = (HttpSession)application.getAttribute(sessionId); - controller = (Controller)currentSession.getAttribute("controller"); - loadContentLink.append(ActionInputs.SESSIONID).append('=').append(sessionId).append('&'); - } - else - controller = (Controller)session.getAttribute("controller"); - loadContentLink.append(ActionInputs.TARGET_PAGE).append('=').append(URLUtils.encode(request.getParameter(ActionInputs.TARGET_PAGE))); -%> -<frameset id="proxyPage" rows="100%,*" border=0> - <frame src="<%=controller.getPathWithContext(loadContentLink.toString())%>" title="<%=controller.getMessage("FORM_TITLE_PAGE_LOADER")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=0 noresize> - <frame title="<%=controller.getMessage("FORM_TITLE_PAGE_CONTENT")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=0 noresize> -</frameset> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/copyright.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/copyright.inc deleted file mode 100644 index a7fdcef6e..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/copyright.inc +++ /dev/null @@ -1,12 +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 - *******************************************************************************/ -%>
\ No newline at end of file diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/formheader.inc b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/formheader.inc deleted file mode 100644 index 0d1c98f04..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/formheader.inc +++ /dev/null @@ -1,23 +0,0 @@ -<% -/******************************************************************************* - * Copyright (c) 2000, 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 - *******************************************************************************/ -%> -<table width="95%" border=0 cellpadding=3 cellspacing=0> - <tr> - <td> - <img src="<%=response.encodeURL(controller.getPathWithContext(titleImagePath))%>" alt=""> - <strong><%=title%></strong> - </td> - </tr> - <tr> - <td height=20> <img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"> </td> - </tr> -</table> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/otherActions.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/otherActions.jsp deleted file mode 100644 index 944e3ffda..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/otherActions.jsp +++ /dev/null @@ -1,55 +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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"/> -<% - ToolManager currentToolManager = (ToolManager)currentToolManagerHash.get(ActionInputs.CURRENT_TOOL_MANAGER); - int numberOfTools = currentToolManager.getNumberOfTools(); - if (numberOfTools > 1) - { -%> -<table> - <tr> - <td height=20> </td> - </tr> -</table> -<table width="95%" border=0 cellpadding=3 cellspacing=0> - <tr> - <td> - <strong><%=controller.getMessage("ALT_OTHER_ACTIONS")%></strong> - </td> - </tr> - <tr> - <td height=20> <img height=2 width="100%" align="top" src="<%=response.encodeURL(controller.getPathWithContext("images/keyline.gif"))%>"> </td> - </tr> -</table> -<table> -<% - for (int i=1;i<numberOfTools;i++) - { - Tool t = currentToolManager.getTool(i); -%> - <tr> - <td><a href="<%=response.encodeURL(controller.getPathWithContext(t.getSelectToolActionHref(false)))%>" target="<%=t.getSelectToolActionTarget()%>"><%=t.getAltText()%></a></td> - </tr> -<% - } -%> -</table> -<% - } -%> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/simpleCommon_table.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/simpleCommon_table.jsp deleted file mode 100644 index 6dfe8a8d4..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/forms/simpleCommon_table.jsp +++ /dev/null @@ -1,26 +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="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=30 valign="bottom" align="left" nowrap> - <input type="submit" value="<%=controller.getMessage("FORM_BUTTON_GO")%>" class="button"> - </td> - <td height=30 valign="bottom" align="left" nowrap> - <input type="button" value="<%=controller.getMessage("FORM_BUTTON_RESET")%>" onClick="resetFormInputs()" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> -</table> |