diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions')
20 files changed, 0 insertions, 757 deletions
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 9fe32ba77..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ClearNodeConfirmJSP.jsp +++ /dev/null @@ -1,38 +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"/> -<html> -<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 23a4c47fb..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILActionJSP.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.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"/> -<html> -<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 9ca75e67c..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/OpenWSILLinkActionJSP.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.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"/> -<html> -<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 baf3e1a5a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/RefreshActionJSP.jsp +++ /dev/null @@ -1,63 +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(); -%> -<html> -<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 b9e376b25..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/ResizeWSILFramesActionJSP.jsp +++ /dev/null @@ -1,42 +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); -%> -<html> -<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 d08368670..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToFavoritesActionJSP.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 - *******************************************************************************/ -%> -<%@ 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(); -%> -<html> -<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 08a37b936..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToUDDIPerspectiveActionJSP.jsp +++ /dev/null @@ -1,56 +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"/> -<html> -<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 a1f49dc4e..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilAddToWSDLPerspectiveActionJSP.jsp +++ /dev/null @@ -1,53 +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"/> - -<html> -<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 9ba990339..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/wsil/actions/WsilCheckFavoriteExistsActionJSP.jsp +++ /dev/null @@ -1,72 +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"/> - -<html> -<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" %> |