diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil')
69 files changed, 0 insertions, 3149 deletions
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp deleted file mode 100644 index 69c681534..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp +++ /dev/null @@ -1,39 +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 - * yyyymmdd bug Email and other contact information - * -------- -------- ----------------------------------------------------------- - * 20060906 155434 makandre@ca.ibm.com - Andrew Mak, Back Slash '\' not appearing in "WSIL no longer resolvable" error message - *******************************************************************************/ -%> -<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.ClearWSILAction, - org.eclipse.wst.ws.internal.explorer.platform.util.*"%> - -<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<!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"> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> - <script language="javascript"> - if (confirm("<%=HTMLUtils.JSMangle(controller.getWSILPerspective().getMessage("MSG_CONFIRM_REMOVE_NODE", controller.getWSILPerspective().getNodeManager().getSelectedNode().getNodeName()))%>")) { - perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ClearWSILAction.getActionLink(controller.getWSILPerspective().getNodeManager().getSelectedNode().getNodeId())))%>"; - } - else { - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - } - </script> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearWSILActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearWSILActionJSP.jsp deleted file mode 100644 index 31bb13f68..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearWSILActionJSP.jsp +++ /dev/null @@ -1,18 +0,0 @@ -<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.uddi.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.ClearWSILAction"%> - -<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action. - ClearWSILAction action = new ClearWSILAction(controller); - - // Load the parameters for the action from the servlet request. - action.populatePropertyTable(request); - - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); -%> -<%@ include file="/actions/ClearNodeAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSDLToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSDLToFileSystemActionJSP.jsp deleted file mode 100644 index b55b9461d..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSDLToFileSystemActionJSP.jsp +++ /dev/null @@ -1,24 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.*, - java.io.*" %> - - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action. - ImportWSDLToFileSystemAction action = new ImportWSDLToFileSystemAction(controller); -%> -<%@ include file="/actions/ImportToFileSystemAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSILToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSILToFileSystemActionJSP.jsp deleted file mode 100644 index 0edcd8e50..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ImportWSILToFileSystemActionJSP.jsp +++ /dev/null @@ -1,24 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.*, - java.io.*" %> - - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action. - ImportWSILToFileSystemAction action = new ImportWSILToFileSystemAction(controller); -%> -<%@ include file="/actions/ImportToFileSystemAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.jsp deleted file mode 100644 index 01b8377f3..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.jsp +++ /dev/null @@ -1,68 +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.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*, - 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:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -<!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"> - <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"> - </script> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> -<% -// Prepare the action. -OpenWSILAction action = new OpenWSILAction(controller); - -// Load the parameters for the action from the servlet request. -boolean inputsValid = action.populatePropertyTable(request); -if (!inputsValid) { -%> - <script language="javascript"> - wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> -<% -} -else { - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); - if (actionResult) { -%> - <script language="javascript"> - if (isMicrosoftInternetExplorer()) { - wsilNavigatorContent.location="<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_navigator_content.jsp"))%>"; - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - } - else - perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_perspective_content.jsp"))%>"; - </script> -<% - } - else { -%> - <script language="javascript"> - wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> -<% - } -} -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.jsp deleted file mode 100644 index abdcbecd1..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.jsp +++ /dev/null @@ -1,68 +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.constants.WsilFrameNames, - org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.OpenWSILLinkAction"%> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -<!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"> - <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"> - </script> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> -<% -// Prepare the action. -OpenWSILLinkAction action = new OpenWSILLinkAction(controller); - -// Load the parameters for the action from the servlet request. -boolean inputsValid = action.populatePropertyTable(request); -if (!inputsValid) { -%> - <script language="javascript"> - wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> -<% -} -else { - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); - if (actionResult) { -%> - <script language="javascript"> - if (isMicrosoftInternetExplorer()) { - wsilNavigatorContent.location="<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_navigator_content.jsp"))%>"; - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - } - else - perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_perspective_content.jsp"))%>"; - </script> -<% - } - else { -%> - <script language="javascript"> - wsilPropertiesContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_content.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> -<% - } -} -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp deleted file mode 100644 index deecc7526..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp +++ /dev/null @@ -1,64 +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.constants.WsilFrameNames, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.Action, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*"%> - -<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action. - Action action = RefreshAction.newAction(request, controller); - - // Load the parameters for the action from the servlet request. - action.populatePropertyTable(request); - - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); -%> -<!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"> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> - <% - if (!actionResult) { - if (action instanceof RefreshWSILAction) { - %> - <jsp:include page="/wsil/actions/ClearNodeConfirmJSP.jsp" flush="true"/> - <% - } - else { - %> - <script language="javascript"> - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> - <% - } - %> - <% - } - else { - %> - <script language="javascript"> - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> - <% - } - %> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp deleted file mode 100644 index 76ac52aba..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp +++ /dev/null @@ -1,43 +0,0 @@ -<%@ 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.actions.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Create the action. - ResizeWSILFramesAction action = new ResizeWSILFramesAction(controller); - - // Populate the action with the request properties. - boolean result = action.populatePropertyTable(request); -%> -<!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"> -<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/> -<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"> -</script> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> -<% - if (result) - { - action.execute(false); - - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<script language="javascript"> - if (isMicrosoftInternetExplorer()) - { - var perspectiveContentFrameset = getPerspectiveContentFrameset(); - var actionsContainerFrameset = getActionsContainerFrameset(); - perspectiveContentFrameset.setAttribute("cols","<%=wsilPerspective.getPerspectiveContentFramesetCols()%>"); - actionsContainerFrameset.setAttribute("rows","<%=wsilPerspective.getActionsContainerFramesetRows()%>"); - } - else - perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_perspective_content.jsp"))%>"; -</script> -<% - } -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILNodeActionJSP.jsp deleted file mode 100644 index 7f94c89f9..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILNodeActionJSP.jsp +++ /dev/null @@ -1,33 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILNodeAction" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action. - SelectWSILNodeAction action = new SelectWSILNodeAction(controller); - - // Load the parameters for the action from the servlet request. - action.populatePropertyTable(request); - - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); - - // Determine if the action was added to the history list. - boolean isAddedToHistory = action.isAddedToHistory(); -%> -<%@ include file="/actions/SelectNodeAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILToolActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILToolActionJSP.jsp deleted file mode 100644 index 338dfd6a0..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SelectWSILToolActionJSP.jsp +++ /dev/null @@ -1,33 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.SelectWSILToolAction" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action. - SelectWSILToolAction action = new SelectWSILToolAction(controller); - - // Load the parameters for the action from the servlet request. - action.populatePropertyTable(request); - - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); - - // Determine if the action was added to the history list. - boolean isAddedToHistory = action.isAddedToHistory(); -%> -<%@ include file="/actions/SelectNodeToolAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp deleted file mode 100644 index 57d07b2a4..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/SwitchPerspectiveFromWSILActionJSP.jsp +++ /dev/null @@ -1,30 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action - SwitchPerspectiveFromWSILAction action = new SwitchPerspectiveFromWSILAction(controller); - - // Load the parameters for the action from the servlet request. - action.populatePropertyTable(request); - - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); - - // Determine if the action was added to the history list. - boolean isAddedToHistory = action.isAddedToHistory(); -%> -<jsp:include page="/scripts/switchperspective.jsp" flush="true"/> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp deleted file mode 100644 index 8d53132ef..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WSILImportWSILToWorkbenchActionJSP.jsp +++ /dev/null @@ -1,22 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.util.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILImportWSILToWorkbenchAction action = new WSILImportWSILToWorkbenchAction(controller); -%> -<%@ include file="/actions/ImportToWorkbenchAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.jsp deleted file mode 100644 index 1099cf817..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.jsp +++ /dev/null @@ -1,40 +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.constants.WsilFrameNames, - org.eclipse.wst.ws.internal.explorer.platform.constants.FrameNames, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction"%> - -<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% -// Prepare the action. -AddToFavoritesAction action = AddToFavoritesAction.newAction(request, controller); - -// Load the parameters for the action from the servlet request. -action.populatePropertyTable(request); - -// Run the action -action.execute(); -%> -<!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"> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> - <script language="javascript"> - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp deleted file mode 100644 index 0f355edae..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.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.wsil.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<!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"> - <jsp:include page="/scripts/panes.jsp" flush="true"/> - <jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> - <% - // Prepare the action. - Action action = AddToUDDIPerspectiveAction.newAction(request, controller); - - // Load the parameters for the action from the servlet request. - action.populatePropertyTable(request); - - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); - - if (actionResult) - { - controller.getUDDIPerspective().getNavigatorManager().makeSelectedNodeVisible(); - %> - <script language="javascript"> - perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_UDDI,false)))%>"; - </script> - <% - } - else - { - %> - <script language="javascript"> - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> - <% - } - %> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp deleted file mode 100644 index ded22fa99..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp +++ /dev/null @@ -1,54 +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.actions.ShowPerspectiveAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.WsilFrameNames, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.WsilAddToWSDLPerspectiveAction"%> - -<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> - -<!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"> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> -<% -// Prepare the action. -WsilAddToWSDLPerspectiveAction action = new WsilAddToWSDLPerspectiveAction(controller); - -// Load the parameters for the action from the servlet request. -action.populatePropertyTable(request); - -// Run the action and obtain the return code (fail/success). -boolean actionResult = action.execute(); - -if (actionResult) { -%> - <script language="javascript"> - perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(ShowPerspectiveAction.getActionLink(ActionInputs.PERSPECTIVE_WSDL,false)))%>"; - </script> -<% -} -else { -%> - <script language="javascript"> - wsilPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_properties_container.jsp"))%>"; - wsilStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>"; - </script> -<% -} -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp deleted file mode 100644 index 66c9644e2..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.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.wsil.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction, - org.eclipse.wst.ws.internal.explorer.platform.util.HTMLUtils, - java.util.Enumeration"%> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:include page="/wsil/scripts/wsilPanes.jsp" flush="true"/> - -<!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"> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>"> - <form action="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/WsilAddToFavoritesActionJSP.jsp"))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"> -<% - Enumeration paramNames = request.getParameterNames(); - while (paramNames.hasMoreElements()) { - String paramName = (String)paramNames.nextElement(); - String[] paramValues = request.getParameterValues(paramName); - for (int i = 0; i < paramValues.length; i++) { -%> - <input type="hidden" name="<%=paramName%>" value="<%=paramValues[i]%>"> -<% - } - } -%> - </form> -</body> -</html> -<% -if (request.getParameter(WsilActionInputs.MULTIPLE_LINK_ACTION) == null) { - // Prepare the action. - AddToFavoritesAction action = AddToFavoritesAction.newAction(request, controller); - // Load the parameters for the action from the servlet request. - action.populatePropertyTable(request); - if (action.favoriteExists()) { -%> - <script language="javascript"> - if (confirm("<%=HTMLUtils.JSMangle(controller.getWSILPerspective().getMessage("MSG_QUESTION_OVERWRITE_FAVORITES"))%>")) - document.forms[0].submit(); - </script> -<% - } - else { -%> - <script language="javascript"> - document.forms[0].submit(); - </script> -<% - } -} -else { -%> - <script language="javascript"> - document.forms[0].submit(); - </script> -<% -} -%> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp deleted file mode 100644 index 3daac68cd..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilImportWSDLToWorkbenchActionJSP.jsp +++ /dev/null @@ -1,22 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.util.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WsilImportWSDLToWorkbenchAction action = new WsilImportWSDLToWorkbenchAction(controller); -%> -<%@ include file="/actions/ImportToWorkbenchAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp deleted file mode 100644 index 284c8398a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilLaunchWebServiceWizardActionJSP.jsp +++ /dev/null @@ -1,19 +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.actions.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WsilLaunchWebServiceWizardAction action = new WsilLaunchWebServiceWizardAction(controller); -%> -<%@ include file="/actions/LaunchWebServiceWizardAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilToggleNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilToggleNodeActionJSP.jsp deleted file mode 100644 index b82cdb09b..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilToggleNodeActionJSP.jsp +++ /dev/null @@ -1,33 +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.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% -// Prepare the action. -WsilToggleNodeAction action = new WsilToggleNodeAction(controller); - -// Load the parameters for the action from the servlet request. -action.populatePropertyTable(request); - -// Run the action and obtain the return code (fail/success). -boolean actionResult = action.execute(); - -// Determine if the action was added to the history list. -boolean isAddedToHistory = action.isAddedToHistory(); -%> -<%@ include file="/actions/ToggleNodeAction.inc" %> 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> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_enabled.gif Binary files differdeleted file mode 100644 index 4aa3ddcb5..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_highlighted.gif Binary files differdeleted file mode 100644 index 4aa3ddcb5..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/add_to_UDDI_perspective_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_enabled.gif Binary files differdeleted file mode 100644 index 53e1335da..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_highlighted.gif Binary files differdeleted file mode 100644 index 53e1335da..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_UDDI_service_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_enabled.gif Binary files differdeleted file mode 100644 index 428c8ea5e..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_highlighted.gif Binary files differdeleted file mode 100644 index 428c8ea5e..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSDL_service_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_enabled.gif Binary files differdeleted file mode 100644 index c34bbe6a8..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_highlighted.gif Binary files differdeleted file mode 100644 index c34bbe6a8..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_WSIL_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_enabled.gif Binary files differdeleted file mode 100644 index d51b97517..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_highlighted.gif Binary files differdeleted file mode 100644 index d51b97517..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/list_business_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_enabled.gif Binary files differdeleted file mode 100644 index 261775f64..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_highlighted.gif Binary files differdeleted file mode 100644 index 261775f64..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/open_wsil_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/wsil_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/wsil_node.gif Binary files differdeleted file mode 100644 index 7c5916fb6..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/images/wsil_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilAbstractTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilAbstractTable.jsp deleted file mode 100644 index 1c4d08833..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilAbstractTable.jsp +++ /dev/null @@ -1,82 +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.wsil.perspective.WSILPerspective, - 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="abstractLangs" class="java.util.Vector" scope="request"/> -<jsp:useBean id="abstracts" class="java.util.Vector" scope="request"/> - -<jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/> - -<% -String abstractTable = "abstractTable"; -String xabstractTable = "xabstractTable"; -String showAllAbstractID = "showAllAbstractID"; -WSILPerspective wsilPerspective =controller.getWSILPerspective(); -%> - -<script language="javascript"> - function showAbstract(tableContainerID) { - var table = getTable(tableContainerID); - var tableBody = table.getElementsByTagName("TBODY").item(0); - var hiddenInput = document.getElementById('<%=showAllAbstractID%>'); - <% - for (int i = 0; i < abstracts.size(); i++) { - %> - addRowToAbstractTable(tableBody, - "<%=HTMLUtils.JSMangle((String)abstractLangs.elementAt(i))%>", - "<%=HTMLUtils.JSMangle((String)abstracts.elementAt(i))%>"); - <% - } - %> - } - - function addRowToAbstractTable(tableBody, lang, abst) { - var newRow = document.createElement("tr"); - addKeyValueToRow(newRow, lang, abst); - tableBody.appendChild(newRow); - } -</script> - -<table border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=40 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=abstractTable%>','<%=xabstractTable%>')"><img name="<%=xabstractTable%>" 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_ABSTRACT")%></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="<%=abstractTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th> - <th class="headercolor" width="100%"><%=wsilPerspective.getMessage("FORM_LABEL_ABSTRACT")%></th> - </tr> - </table> -</div> - -<script language="javascript"> - showAbstract('<%=abstractTable%>'); - twistInit('<%=abstractTable%>','<%=xabstractTable%>'); -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilFormSubmit.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilFormSubmit.jsp deleted file mode 100644 index eb25f00aa..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilFormSubmit.jsp +++ /dev/null @@ -1,43 +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"/> -<jsp:include page="/scripts/formsubmit.jsp" flush="true"/> -<jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/> -<script language="javascript"> - function isSomethingSelected(tableContainerId) { - var table = getTable(tableContainerId); - for (var i=numberOfHeaderRows; i<table.rows.length; i++) { - var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0); - var rowCheckbox = rowCheckboxCell.childNodes[0]; - if (rowCheckbox.checked) - return true; - } - alert("<%=controller.getWSILPerspective().getMessage("MSG_ERROR_NOTHING_SELECTED")%>"); - return false; - } - - function setFormLocationAndSubmit(tableContainerId, form, location) { - if (isSomethingSelected(tableContainerId)) - setLocationAndSubmit(form, location); - } - - function setLocationAndSubmit(form, location) { - if (handleSubmit(form)) - { - form.action = location; - form.submit(); - } - } -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilNameTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilNameTable.jsp deleted file mode 100644 index 8060c9c2b..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilNameTable.jsp +++ /dev/null @@ -1,82 +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.wsil.perspective.WSILPerspective, - 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="nameLangs" class="java.util.Vector" scope="request"/> -<jsp:useBean id="names" class="java.util.Vector" scope="request"/> - -<jsp:include page="/wsil/scripts/wsilTable.jsp" flush="true"/> - -<% -String nameTable = "nameTable"; -String xnameTable = "xnameTable"; -String showAllNameID = "showAllNameID"; -WSILPerspective wsilPerspective =controller.getWSILPerspective(); -%> - -<script language="javascript"> - function showName(tableContainerID) { - var table = getTable(tableContainerID); - var tableBody = table.getElementsByTagName("TBODY").item(0); - var hiddenInput = document.getElementById('<%=showAllNameID%>'); - <% - for (int i = 0; i < names.size(); i++) { - %> - addRowToNameTable(tableBody, - "<%=HTMLUtils.JSMangle((String)nameLangs.elementAt(i))%>", - "<%=HTMLUtils.JSMangle((String)names.elementAt(i))%>"); - <% - } - %> - } - - function addRowToNameTable(tableBody, lang, name) { - var newRow = document.createElement("tr"); - addKeyValueToRow(newRow, lang, name); - tableBody.appendChild(newRow); - } -</script> - -<table border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=40 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=nameTable%>','<%=xnameTable%>')"><img name="<%=xnameTable%>" 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_NAME")%></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="<%=nameTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_LANGUAGE")%></th> - <th class="headercolor" width="100%"><%=wsilPerspective.getMessage("FORM_LABEL_NAME")%></th> - </tr> - </table> -</div> - -<script language="javascript"> - showName('<%=nameTable%>'); - twistInit('<%=nameTable%>','<%=xnameTable%>'); -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilPanes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilPanes.jsp deleted file mode 100644 index 07c5b3bea..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilPanes.jsp +++ /dev/null @@ -1,28 +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 import="org.eclipse.wst.ws.internal.explorer.platform.wsil.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*" %> - -<jsp:include page="/scripts/panes.jsp" flush="true"/> -<script language="javascript"> - var wsilNavigatorContainer = perspectiveContent.frames["<%=WsilFrameNames.WSIL_NAVIGATOR_CONTAINER%>"]; - var wsilNavigatorToolbar = wsilNavigatorContainer.frames["<%=WsilFrameNames.WSIL_NAVIGATOR_TOOLBAR%>"]; - var wsilNavigatorContent = wsilNavigatorContainer.frames["<%=WsilFrameNames.WSIL_NAVIGATOR_CONTENT%>"]; - var wsilActionsContainer = perspectiveContent.frames["<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>"]; - var wsilPropertiesContainer = wsilActionsContainer.frames["<%=WsilFrameNames.WSIL_PROPERTIES_CONTAINER%>"]; - var wsilPropertiesToolbar = wsilPropertiesContainer.frames["<%=WsilFrameNames.WSIL_PROPERTIES_TOOLBAR%>"]; - var wsilPropertiesContent = wsilPropertiesContainer.frames["<%=WsilFrameNames.WSIL_PROPERTIES_CONTENT%>"]; - var wsilStatusContainer = wsilActionsContainer.frames["<%=WsilFrameNames.WSIL_STATUS_CONTAINER%>"]; - var wsilStatusToolbar = wsilStatusContainer.frames["<%=WsilFrameNames.WSIL_STATUS_TOOLBAR%>"]; - var wsilStatusContent = wsilStatusContainer.frames["<%=WsilFrameNames.WSIL_STATUS_CONTENT%>"]; -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilTable.jsp deleted file mode 100644 index 625126bca..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilTable.jsp +++ /dev/null @@ -1,82 +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.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"/> -<jsp:include page="/scripts/tables.jsp" flush="true"/> -<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"> -</script> -<script language="javascript"> - - function wsilHandleCheckAllClick(tableContainerId, checkAllCheckbox) { - var table = getTable(tableContainerId); - for (var i=numberOfHeaderRows; i<table.rows.length; i++) { - var rowCheckboxCell = table.rows[i].getElementsByTagName("td").item(0); - var rowCheckbox = rowCheckboxCell.childNodes[0]; - rowCheckbox.checked = checkAllCheckbox.checked; - if (rowCheckbox.checked) { - highlightRow(table.rows[i],"rowcolor"); - rowCheckbox.name = "<%=ActionInputs.VIEWID%>"; - } - else { - highlightRow(table.rows[i],"tablecells"); - rowCheckbox.name = ""; - } - } - } - - function validateCheckBoxInput(checkbox, isChecked) { - if (isChecked) { - checkbox.name = "<%=ActionInputs.VIEWID%>"; - } - else { - checkbox.name = ""; - } - handleRowCheckboxClick(); - } - - function twistInit(tableContainerId,twistImageName) { - var tableContainer = document.getElementById(tableContainerId); - var table = getTable(tableContainerId); - if (table.rows.length > numberOfHeaderRows) { - tableContainer.style.display = "none"; - twist(tableContainerId, twistImageName); - } - else { - tableContainer.style.display = ""; - twist(tableContainerId, twistImageName); - } - } - - function addKeyValueToRow(row, key, value) { - var keyText = document.createTextNode(key); - var valueText = document.createTextNode(value); - var newCol = document.createElement("td"); - var newCol2 = document.createElement("td"); - newCol.appendChild(keyText); - newCol.className = "tablecells"; - newCol2.appendChild(valueText); - newCol2.className = "tablecells"; - row.appendChild(newCol); - row.appendChild(newCol2); - } - - function clearTable(tableBody, numHeader) { - for(var i = numHeader; i < tableBody.rows.length; i++) { - tableBody.deleteRow(i); - i--; - } - } - -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilframesets.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilframesets.jsp deleted file mode 100644 index 382673f2b..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/scripts/wsilframesets.jsp +++ /dev/null @@ -1,32 +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.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*" %> - -<jsp:include page="/scripts/panes.jsp" flush="true"/> -<script language="javascript"> - function getActionsContainerFrameset() - { - return perspectiveContent.frames["<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>"].document.getElementsByTagName("frameset").item(0); - } - - function processFramesetSizes(framesetSizesForm) - { - toggleDoubleClickColumnTitle(); - var perspectiveContentFrameset = getPerspectiveContentFrameset(); - var actionsContainerFrameset = getActionsContainerFrameset(); - framesetSizesForm.<%=WsilActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>.value = perspectiveContentFrameset.cols; - framesetSizesForm.<%=WsilActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>.value = actionsContainerFrameset.rows; - framesetSizesForm.submit(); - } -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiBusinessView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiBusinessView.jsp deleted file mode 100644 index d69925aab..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiBusinessView.jsp +++ /dev/null @@ -1,158 +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="java.util.Vector, - java.util.Enumeration, - org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort, - 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.actions.SelectWSILToolAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddBusinessToUDDIPerspectiveAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divUDDIBusinessList = "divUDDIBusinessList"; - String xdivUDDIBusinessList = "xdivUDDIBusinessList"; - - WSILPerspective wsilPerspective = controller.getWSILPerspective(); - NodeManager nodeManager = wsilPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - TreeElement selectedElement = 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><%=wsilPerspective.getMessage("VIEW_TITLE_UDDI_BUSINESSES")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>"> - </script> - <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"> - <% - String titleImagePath = "wsil/images/list_business_highlighted.gif"; - String title = wsilPerspective.getMessage("ALT_LIST_UDDI_LINKS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=wsilPerspective.getMessage("FORM_LABEL_LIST_UDDI_BUSINESSES_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof WsilElement) { - %> - <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>"> - <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divUDDIBusinessList%>','<%=xdivUDDIBusinessList%>')"><img name="<%=xdivUDDIBusinessList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a> - </td> - <td height=20 valign="bottom" align="left" nowrap class="labels"> - <strong><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_BUSINESS")%></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="<%=divUDDIBusinessList%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divUDDIBusinessList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_BUSINESS_NAME")%></th> - </tr> - <% - ListManager uddiLinks = ((WsilElement)selectedElement).getAllUDDILinks(); - Enumeration e = uddiLinks.getListElements(); - int itemNum = 1; - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - for (int i = 0; i < sortedVector.size(); i++) { - ListElement le = (ListElement)sortedVector.elementAt(i); - WsilUddiBusinessElement uddiLink = (WsilUddiBusinessElement)le.getObject(); - String name = uddiLink.getName(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td> - <% - if (name != null) { - %> - <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td> - <td class="tablecells"><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=name%></a></td> - <% - } - else { - %> - <td class="tablecells" nowrap><%=String.valueOf(itemNum)%></td> - <td class="tablecells"><%=wsilPerspective.getMessage("FORM_LABEL_UNAVAILABLE_UDDI_BUSINESS")%> <%=uddiLink.getUDDILinkBusinessKey()%></td> - <% - } - %> - </tr> - <% - itemNum++; - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divUDDIBusinessList%>','<%=xdivUDDIBusinessList%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divUDDIBusinessList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddBusinessToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_FAVORITES")%>" onClick="setFormLocationAndSubmit('<%=divUDDIBusinessList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_REFRESH")%>" onClick="setFormLocationAndSubmit('<%=divUDDIBusinessList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RefreshAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> -</div> - -<script language="javascript"> - resumeProxyLoadPage(); -</script> - -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiServicesView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiServicesView.jsp deleted file mode 100644 index c12eb4f8a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/UddiServicesView.jsp +++ /dev/null @@ -1,159 +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="java.util.Vector, - java.util.Enumeration, - org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort, - 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.actions.SelectWSILToolAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddServiceToUDDIPerspectiveAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.RefreshAction, - 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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divUDDIServiceList = "divUDDIServiceList"; - String xdivUDDIServiceList = "xdivUDDIServiceList"; - - WSILPerspective wsilPerspective = controller.getWSILPerspective(); - NodeManager nodeManager = wsilPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - TreeElement selectedElement = 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><%=wsilPerspective.getMessage("VIEW_TITLE_UDDI_SERVICES")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/resumeproxyloadpage.js"))%>"> - </script> - <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"> - <% - String titleImagePath = "wsil/images/list_UDDI_service_highlighted.gif"; - String title = wsilPerspective.getMessage("ALT_LIST_UDDI_SERVICES"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=wsilPerspective.getMessage("FORM_LABEL_LIST_UDDI_SERVICES_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - - <% - if (selectedElement instanceof WsilElement) { - %> - <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>"> - <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divUDDIServiceList%>','<%=xdivUDDIServiceList%>')"><img name="<%=xdivUDDIServiceList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a> - </td> - <td height=20 valign="bottom" align="left" nowrap class="labels"> - <strong><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_SERVICE")%></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="<%=divUDDIServiceList%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divUDDIServiceList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_UDDI_SERVICE_NAME")%></th> - </tr> - <% - ListManager uddiServices = ((WsilElement)selectedElement).getAllUDDIServices(); - Enumeration e = uddiServices.getListElements(); - int itemNum = 1; - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - for (int i = 0; i < sortedVector.size(); i++) { - ListElement le = (ListElement)sortedVector.elementAt(i); - WsilUddiServiceElement uddiService = (WsilUddiServiceElement)le.getObject(); - String name = uddiService.getName(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td> - <% - if (name != null) { - %> - <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td> - <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=name%></a></td> - <% - } - else { - %> - <td class="tablecells" nowrap><%=String.valueOf(itemNum)%></td> - <td class="tablecells" nowrap><%=wsilPerspective.getMessage("FORM_LABEL_UNAVAILABLE_UDDI_SERVICE")%> <%=uddiService.getUDDIServiceKey()%></td> - <% - } - %> - </tr> - <% - itemNum++; - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divUDDIServiceList%>','<%=xdivUDDIServiceList%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divUDDIServiceList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddServiceToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_FAVORITES")%>" onClick="setFormLocationAndSubmit('<%=divUDDIServiceList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_REFRESH")%>" onClick="setFormLocationAndSubmit('<%=divUDDIServiceList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RefreshAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> -</div> - -<script language="javascript"> - resumeProxyLoadPage(); -</script> - -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsdlServicesView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsdlServicesView.jsp deleted file mode 100644 index 25af4d99e..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsdlServicesView.jsp +++ /dev/null @@ -1,135 +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="java.util.Vector, - java.util.Enumeration, - org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort, - 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.actions.SelectWSILToolAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.AddToFavoritesAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.WsilAddToWSDLPerspectiveAction, - 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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divWSDLList = "divWSDLList"; - String xdivWSDLList = "xdivWSDLList"; - - WSILPerspective wsilPerspective = controller.getWSILPerspective(); - NodeManager nodeManager = wsilPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - TreeElement selectedElement = 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><%=wsilPerspective.getMessage("VIEW_TITLE_WSDL_SERVICES")%></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"> - <% - String titleImagePath = "wsil/images/list_WSDL_service_highlighted.gif"; - String title = wsilPerspective.getMessage("ALT_LIST_WSDL_SERVICES"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=wsilPerspective.getMessage("FORM_LABEL_LIST_WSDL_SERVICES_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof WsilElement) { - %> - <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>"> - <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=25 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divWSDLList%>','<%=xdivWSDLList%>')"><img name="<%=xdivWSDLList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a> - </td> - <td height=25 valign="bottom" align="left" nowrap class="labels"> - <strong><%=wsilPerspective.getMessage("FORM_LABEL_WSDL_SERVICE")%></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="<%=divWSDLList%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divWSDLList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></th> - </tr> - <% - ListManager wsdlServices = ((WsilElement)selectedElement).getAllWSDLServices(); - Enumeration e = wsdlServices.getListElements(); - int itemNum = 1; - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - for (int i = 0; i < sortedVector.size(); i++) { - ListElement le = (ListElement)sortedVector.elementAt(i); - WsilWsdlServiceElement wsdlService = (WsilWsdlServiceElement)le.getObject(); - String wsdlURL = wsdlService.getWSDLServiceURL(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td> - <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td> - <td class="tablecells" nowrap><%=wsdlURL%></td> - </tr> - <% - itemNum++; - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divWSDLList%>','<%=xdivWSDLList%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_WSDL_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divWSDLList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(WsilAddToWSDLPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_FAVORITES")%>" onClick="setFormLocationAndSubmit('<%=divWSDLList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsilLinksView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsilLinksView.jsp deleted file mode 100644 index 7bdb89727..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/views/WsilLinksView.jsp +++ /dev/null @@ -1,131 +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="java.util.Vector, - java.util.Enumeration, - org.eclipse.wst.ws.internal.explorer.platform.util.QuickSort, - 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.actions.SelectWSILToolAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.actions.OpenWSILLinkAction, - org.eclipse.wst.ws.internal.explorer.platform.wsil.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divWSILList = "divWSILList"; - String xdivWSILList = "xdivWSILList"; - - WSILPerspective wsilPerspective = controller.getWSILPerspective(); - NodeManager nodeManager = wsilPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - TreeElement selectedElement = 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><%=wsilPerspective.getMessage("VIEW_TITLE_WSIL_LINKS")%></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"> - <% - String titleImagePath = "wsil/images/list_WSIL_highlighted.gif"; - String title = wsilPerspective.getMessage("ALT_LIST_WSIL_LINKS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=wsilPerspective.getMessage("FORM_LABEL_LIST_WSIL_LINKS")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(OpenWSILLinkAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof WsilElement) { - %> - <input type="hidden" name="<%=ActionInputs.NODEID%>" value="<%=selectedNode.getNodeId()%>"> - <input type="hidden" name="<%=WsilActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=25 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divWSILList%>','<%=xdivWSILList%>')"><img name="<%=xdivWSILList%>" src="<%=response.encodeURL(controller.getPathWithContext("images/twistclosed.gif"))%>" alt="<%=controller.getMessage("ALT_TWIST_CLOSED")%>" class="twist"></a> - </td> - <td height=25 valign="bottom" align="left" nowrap class="labels"> - <strong><%=wsilPerspective.getMessage("FORM_LABEL_WSIL_LINKS")%></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="<%=divWSILList%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="wsilHandleCheckAllClick('<%=divWSILList%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_ITEM_NUMBER")%></th> - <th class="headercolor"><%=wsilPerspective.getMessage("FORM_LABEL_URL")%></th> - </tr> - <% - ListManager wsilLinks = ((WsilElement)selectedElement).getAllWSILLinks(); - Enumeration e = wsilLinks.getListElements(); - int itemNum = 1; - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - for (int i = 0; i < sortedVector.size(); i++) { - ListElement le = (ListElement)sortedVector.elementAt(i); - WsilWsilLinkElement wsilLink = (WsilWsilLinkElement)le.getObject(); - String url = wsilLink.getWSILLinkLocation(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=ActionInputs.VIEWID%>" value="<%=le.getViewId()%>" onClick="validateCheckBoxInput(this, this.checked)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ROW_CHECK_BOX")%>"></td> - <td class="tablecells" nowrap><a href="<%=response.encodeURL(controller.getPathWithContext(SelectWSILToolAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), le.getViewId(), 0, false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=String.valueOf(itemNum)%></a></td> - <td class="tablecells" nowrap><%=url%></td> - </tr> - <% - itemNum++; - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divWSILList%>','<%=xdivWSILList%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom"> - <input type="button" value="<%=wsilPerspective.getMessage("FORM_LABEL_ADD_TO_NAVIGATOR")%>" onClick="setFormLocationAndSubmit('<%=divWSILList%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(OpenWSILLinkAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_actions_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_actions_container.jsp deleted file mode 100644 index 4b4ab973c..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_actions_container.jsp +++ /dev/null @@ -1,30 +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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_ACTIONS_CONTAINER")%></title> -</head> -<frameset rows="<%=wsilPerspective.getActionsContainerFramesetRows()%>" bgcolor="#ECE9D8"> - <frame name="<%=WsilFrameNames.WSIL_PROPERTIES_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%>" src="<%=response.encodeURL("wsil_properties_container.jsp")%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0> - <frame name="<%=WsilFrameNames.WSIL_STATUS_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%>" src="<%=response.encodeURL("wsil_status_container.jsp")%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_container.jsp deleted file mode 100644 index 80a3e5cf6..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_container.jsp +++ /dev/null @@ -1,29 +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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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"> -</head> -<frameset rows="33,*" border=0 bgcolor="#ECE9D8"> - <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_TOOLBAR%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%>" src="<%=response.encodeURL("wsil_navigator_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> - <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_CONTENT%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%>" src="<%=response.encodeURL("wsil_navigator_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_content.jsp deleted file mode 100644 index b19c397a6..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_content.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.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_NAVIGATOR_CONTENT")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/treeview.css"))%>"> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/browserdetect.js"))%>"> - </script> - <script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/treeview.js"))%>"> - </script> -</head> -<% - String selectedAnchorName = ""; - NodeManager nodeManager = controller.getWSILPerspective().getNodeManager(); - int focusedNodeId = nodeManager.getFocusedNodeId(); - String focusedAnchorName = String.valueOf(focusedNodeId); - Node selectedNode = nodeManager.getSelectedNode(); - if (selectedNode != null) { - selectedAnchorName = selectedNode.getAnchorName(); - if (focusedNodeId == selectedNode.getNodeId()) - focusedAnchorName = selectedAnchorName; - } -%> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" onLoad="self.location.hash='#<%=focusedAnchorName%>';setSelectedAnchorName('<%=selectedAnchorName%>')" class="contentbodymargin"> - <div id="treecontentborder"> - <%=nodeManager.renderTreeView(response)%> - </div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_toolbar.jsp deleted file mode 100644 index 50f4e2045..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_navigator_toolbar.jsp +++ /dev/null @@ -1,67 +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(); -%> -<!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("FRAME_TITLE_NAVIGATOR_TOOLBAR")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>"> -<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/> -<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>"> -</script> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin"> -<div id="toolbarborder"> - <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])"> -<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"> -<% - formAction.append("wsil/actions/ResizeWSILFramesActionJSP.jsp"); -%> -</jsp:useBean> -<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"> -<% - formFrameName.append(WsilFrameNames.WSIL_NAVIGATOR_CONTAINER); -%> -</jsp:useBean> -<jsp:include page="/wsil/forms/ProcessWSILFramesetsForm.jsp" flush="true"/> - <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0> - <tr> - <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/navigator.gif"))%>" alt="" width=16 height=16></td> -<% - String doubleClickColumnTitle = null; - if (wsilPerspective.getPerspectiveContentFramesetCols().startsWith("100%")) - doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE"); - else - doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE"); -%> - <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_NAVIGATOR")%></td> -<% - String altRefresh = wsilPerspective.getMessage("ALT_REFRESH_WSIL"); - String altClear = wsilPerspective.getMessage("ALT_CLEAR_WSIL"); -%> - <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/RefreshActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/refresh_enabled.gif"))%>';mouseup(this)" alt="<%=altRefresh%>" title="<%=altRefresh%>"></a></td> - <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsil/actions/ClearWSILActionJSP.jsp"))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td> - </tr> - </table> - </div> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_perspective_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_perspective_content.jsp deleted file mode 100644 index 2a9cc0a12..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_perspective_content.jsp +++ /dev/null @@ -1,43 +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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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"> -</head> -<frameset cols="<%=wsilPerspective.getPerspectiveContentFramesetCols()%>" bgcolor="#ECE9D8"> - <% - if (org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.isRTL()) - { - %> - <frame name="<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL("wsil_actions_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL("wsil_navigator_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <% - } - else - { - %> - <frame name="<%=WsilFrameNames.WSIL_NAVIGATOR_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL("wsil_navigator_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <frame name="<%=WsilFrameNames.WSIL_ACTIONS_CONTAINER%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL("wsil_actions_container.jsp")%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <% - } - %> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_container.jsp deleted file mode 100644 index a74c0ea34..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_container.jsp +++ /dev/null @@ -1,30 +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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_PROPERTIES_CONTAINER")%></title> -</head> -<frameset rows="33,*" border=0 bgcolor="#ECE9D8"> - <frame name="<%=WsilFrameNames.WSIL_PROPERTIES_TOOLBAR%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%>" src="<%=response.encodeURL("wsil_properties_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> - <frame name="<%=WsilFrameNames.WSIL_PROPERTIES_CONTENT%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%>" src="<%=response.encodeURL("wsil_properties_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_content.jsp deleted file mode 100644 index f42f391ae..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_content.jsp +++ /dev/null @@ -1,74 +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.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_PROPERTIES_CONTENT")%></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"> -<% - NodeManager nodeManager = wsilPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - if (selectedNode != null) - { - ToolManager toolManager; - if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT) - toolManager = selectedNode.getToolManager(); - else - toolManager = selectedNode.getViewToolManager(); - Tool selectedTool = toolManager.getSelectedTool(); - if (selectedTool != null && selectedTool.getToolType() != ToolTypes.ACTION) { - %> - <script language="javascript"> - location="<%=response.encodeURL(controller.getPathWithContext(selectedTool.getFormLink()))%>"; - </script> - <% - } - else { - %> -<table> - <tr> - <td> - <%=controller.getMessage("MSG_ERROR_NO_ACTION_SELECTED")%> - </td> - </tr> -</table> - <% - } - } - else { - %> -<table> - <tr> - <td> - <%=controller.getMessage("MSG_ERROR_NO_NODE_SELECTED")%> - </td> - </tr> -</table> - <% - } -%> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_toolbar.jsp deleted file mode 100644 index 4f7d9cb97..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_properties_toolbar.jsp +++ /dev/null @@ -1,82 +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.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"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_PROPERTIES_TOOLBAR")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>"> -<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/> -<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>"> -</script> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin"> -<div id="toolbarborder"> - <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])"> -<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"> -<% - formAction.append("wsil/actions/ResizeWSILFramesActionJSP.jsp"); -%> -</jsp:useBean> -<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"> -<% - formFrameName.append(WsilFrameNames.WSIL_PROPERTIES_CONTAINER); -%> -</jsp:useBean> -<jsp:include page="/wsil/forms/ProcessWSILFramesetsForm.jsp" flush="true"/> - <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0> - <tr> - <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/actions.gif"))%>" alt="" width=16 height=16></td> -<% - String doubleClickColumnTitle = null; - if (wsilPerspective.getPerspectiveContentFramesetCols().endsWith("100%")) - { - if (wsilPerspective.getActionsContainerFramesetRows().startsWith("100%")) - doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE"); - } - if (doubleClickColumnTitle == null) - doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE"); -%> - <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_ACTIONS")%></td> -<% - NodeManager nodeManager = wsilPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - if (selectedNode != null) { - ToolManager toolManager; - if (selectedNode.getViewId() == ActionInputs.VIEWID_DEFAULT) - toolManager = selectedNode.getToolManager(); - else - toolManager = selectedNode.getViewToolManager(); - for(int i=0; i<toolManager.getNumberOfTools(); i++) { - Tool tool = (Tool)toolManager.getTool(i); - %> - <td valign="middle" align="center" width=25 height=25><%=tool.renderTool(response,controller)%></td> - <% - } - } -%> - </tr> - </table> - </div> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_container.jsp deleted file mode 100644 index 05fac17cd..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_container.jsp +++ /dev/null @@ -1,30 +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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_STATUS_CONTAINER")%></title> -</head> -<frameset rows="33,*" border=0 bgcolor="#ECE9D8"> - <frame name="<%=WsilFrameNames.WSIL_STATUS_TOOLBAR%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%>" src="<%=response.encodeURL("wsil_status_toolbar.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> - <frame name="<%=WsilFrameNames.WSIL_STATUS_CONTENT%>" title="<%=wsilPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%>" src="<%=response.encodeURL("wsil_status_content.jsp")%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_content.jsp deleted file mode 100644 index 32ebe6fd9..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_content.jsp +++ /dev/null @@ -1,43 +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.util.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_STATUS_CONTENT")%></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"> - <table> - <tr> - <td> - <pre> -<%=HTMLUtils.charactersToHTMLEntitiesStrict(wsilPerspective.getMessageQueue().getMessagesFromList())%> - </pre> - </td> - </tr> - </table> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_toolbar.jsp deleted file mode 100644 index b200269b3..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/wsil_status_toolbar.jsp +++ /dev/null @@ -1,67 +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.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - WSILPerspective wsilPerspective = controller.getWSILPerspective(); -%> -<!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("FRAME_TITLE_STATUS_TOOLBAR")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>"> -<jsp:include page="/wsil/scripts/wsilframesets.jsp" flush="true"/> -<script language="javascript" src="<%=response.encodeURL(controller.getPathWithContext("scripts/toolbar.js"))%>"> -</script> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="toolbarbodymargin"> -<div id="toolbarborder"> - <div id="toolbar" ondblclick="processFramesetSizes(document.forms[0])"> -<jsp:useBean id="formAction" class="java.lang.StringBuffer" scope="request"> -<% - formAction.append("wsil/actions/ResizeWSILFramesActionJSP.jsp"); -%> -</jsp:useBean> -<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"> -<% - formFrameName.append(WsilFrameNames.WSIL_STATUS_CONTAINER); -%> -</jsp:useBean> -<jsp:include page="/wsil/forms/ProcessWSILFramesetsForm.jsp" flush="true"/> - <table width="100%" height=25 cellpadding=0 cellspacing=0 border=0> - <tr> - <td valign="middle" align="center" width=25 height=25><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/status.gif"))%>" alt="" width=16 height=16></td> -<% - String doubleClickColumnTitle = null; - if (wsilPerspective.getPerspectiveContentFramesetCols().endsWith("100%")) - { - if (wsilPerspective.getActionsContainerFramesetRows().endsWith("100%")) - doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_RESTORE"); - } - if (doubleClickColumnTitle == null) - doubleClickColumnTitle = controller.getMessage("ALT_DOUBLE_CLICK_TO_MAXIMIZE"); -%> - <td id="doubleclickcolumn" title="<%=doubleClickColumnTitle%>" valign="middle" width="*" height=25 nowrap class="text"><%=controller.getMessage("ALT_STATUS")%></td> -<% - String altClear = controller.getMessage("ALT_CLEAR"); -%> - <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("wsil/wsil_status_content.jsp"))%>" target="<%=WsilFrameNames.WSIL_STATUS_CONTENT%>"><img class="normal" src="<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>" width=16 height=16 onMouseOver="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mouseover(this)" onMouseOut="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseout(this)" onMouseDown="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_highlighted.gif"))%>';mousedown(this)" onMouseUp="src='<%=response.encodeURL(controller.getPathWithContext("images/clear_enabled.gif"))%>';mouseup(this)" alt="<%=altClear%>" title="<%=altClear%>"></a></td> - </tr> - </table> - </div> -</div> -</body> -</html> |