diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites')
77 files changed, 0 insertions, 3223 deletions
diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp deleted file mode 100644 index 2a10e3f6d..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/AddWSILToWSILPerspectiveActionJSP.jsp +++ /dev/null @@ -1,61 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddWSILToWSILPerspectiveAction"%> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:include page="/scripts/panes.jsp" flush="true"/> -<jsp:include page="/favorites/scripts/favoritesPanes.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()%>"> -<% - // Prepare the action. - AddWSILToWSILPerspectiveAction action = new AddWSILToWSILPerspectiveAction(controller); - - // Load the parameters for the action from the servlet request. - boolean inputsValid = 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_WSIL,false)))%>"; - </script> -<% - } - else { - if (request.getParameter(FavoritesActionInputs.MULTIPLE_LINK_ACTION) == null) { -%> - <jsp:include page="/favorites/actions/RemoveFavoritesConfirmJSP.jsp" flush="true"/> -<% - } - else { -%> - <script language="javascript"> - favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>"; - favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>"; - </script> -<% - } - } -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp deleted file mode 100644 index 6eceed114..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToUDDIPerspectiveActionJSP.jsp +++ /dev/null @@ -1,62 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.AddToUDDIPerspectiveAction"%> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:include page="/scripts/panes.jsp" flush="true"/> -<jsp:include page="/favorites/scripts/favoritesPanes.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()%>"> -<% - // Prepare the action. - AddToUDDIPerspectiveAction action = AddToUDDIPerspectiveAction.newAction(controller); - - // Load the parameters for the action from the servlet request. - boolean inputsValid = 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 { - if (request.getParameter(FavoritesActionInputs.MULTIPLE_LINK_ACTION) == null) { -%> - <jsp:include page="/favorites/actions/RemoveFavoritesConfirmJSP.jsp" flush="true"/> -<% - } - else { -%> - <script language="javascript"> - favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>"; - favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>"; - </script> -<% - } - } -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.jsp deleted file mode 100644 index 1f298ec5b..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesAddToWSDLPerspectiveActionJSP.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.favorites.constants.FavoritesActionInputs, - org.eclipse.wst.ws.internal.explorer.platform.constants.ActionInputs, - org.eclipse.wst.ws.internal.explorer.platform.actions.ShowPerspectiveAction, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesAddToWSDLPerspectiveAction"%> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> - -<jsp:include page="/scripts/panes.jsp" flush="true"/> -<jsp:include page="/favorites/scripts/favoritesPanes.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()%>"> -<% -// Prepare the action. -FavoritesAddToWSDLPerspectiveAction action = new FavoritesAddToWSDLPerspectiveAction(controller); - -// Load the parameters for the action from the servlet request. -boolean inputsValid = 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 { - if (request.getParameter(FavoritesActionInputs.MULTIPLE_LINK_ACTION) == null) { -%> - <jsp:include page="/favorites/actions/RemoveFavoritesConfirmJSP.jsp" flush="true"/> -<% - } - else { -%> - <script language="javascript"> - favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>"; - favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>"; - </script> -<% - } -} -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToFileSystemActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToFileSystemActionJSP.jsp deleted file mode 100644 index 9e99421fd..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToFileSystemActionJSP.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.favorites.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. - FavoritesImportToFileSystemAction action = new FavoritesImportToFileSystemAction(controller); -%> -<%@ include file="/actions/ImportToFileSystemAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp deleted file mode 100644 index 51935b4b5..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesImportToWorkbenchActionJSP.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.favorites.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"/> -<% - FavoritesImportToWorkbenchAction action = new FavoritesImportToWorkbenchAction(controller); -%> -<%@ include file="/actions/ImportToWorkbenchAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp deleted file mode 100644 index ea033b110..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.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.favorites.actions.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesLaunchWebServiceWizardAction action = new FavoritesLaunchWebServiceWizardAction(controller); -%> -<%@ include file="/actions/LaunchWebServiceWizardAction.inc" %> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesToggleNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesToggleNodeActionJSP.jsp deleted file mode 100644 index 3e8d15645..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/FavoritesToggleNodeActionJSP.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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Prepare the action. - FavoritesToggleNodeAction action = new FavoritesToggleNodeAction(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/favorites/actions/RemoveFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesActionJSP.jsp deleted file mode 100644 index 0fa1b2bdd..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesActionJSP.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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.RemoveFavoritesAction"%> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:include page="/favorites/scripts/favoritesPanes.jsp" flush="true"/> -<% - // Prepare the action. - RemoveFavoritesAction action = new RemoveFavoritesAction(controller); - - // Load the parameters for the action from the servlet request. - boolean inputsValid = 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/favorites/actions/RemoveFavoritesConfirmJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesConfirmJSP.jsp deleted file mode 100644 index a5970f2b7..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RemoveFavoritesConfirmJSP.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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.RemoveFavoritesAction"%> - -<jsp:include page="/favorites/scripts/favoritesPanes.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("<%=controller.getFavoritesPerspective().getMessage("MSG_CONFIRM_REMOVE_NODE", controller.getFavoritesPerspective().getNodeManager().getSelectedNode().getNodeName())%>")) { - <% - Node selectedNode = controller.getFavoritesPerspective().getNodeManager().getSelectedNode(); - %> - perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getActionLink(selectedNode.getNodeId(), selectedNode.getToolManager().getSelectedToolId(), ActionInputs.VIEWID_DEFAULT, ActionInputs.VIEWTOOLID_DEFAULT)))%>"; - } - else { - favPropertiesContainer.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>"; - favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>"; - } - </script> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/ResizeFavoritesFramesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/ResizeFavoritesFramesActionJSP.jsp deleted file mode 100644 index 303d346fc..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/ResizeFavoritesFramesActionJSP.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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - // Create the action. - ResizeFavoritesFramesAction action = new ResizeFavoritesFramesAction(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="/favorites/scripts/favoritesframesets.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); - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<script language="javascript"> - if (isMicrosoftInternetExplorer()) - { - var perspectiveContentFrameset = getPerspectiveContentFrameset(); - var actionsContainerFrameset = getActionsContainerFrameset(); - perspectiveContentFrameset.setAttribute("cols","<%=favPerspective.getPerspectiveContentFramesetCols()%>"); - actionsContainerFrameset.setAttribute("rows","<%=favPerspective.getActionsContainerFramesetRows()%>"); - } - else - perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_perspective_content.jsp"))%>"; -</script> -<% - } -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesActionJSP.jsp deleted file mode 100644 index b4b9e7204..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesActionJSP.jsp +++ /dev/null @@ -1,52 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.FavoritesRestoreDefaultFavoritesAction"%> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:include page="/scripts/panes.jsp" flush="true"/> -<jsp:include page="/favorites/scripts/favoritesPanes.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()%>"> -<% - // Prepare the action. - FavoritesRestoreDefaultFavoritesAction action = new FavoritesRestoreDefaultFavoritesAction(controller); - - // Load the parameters for the action from the servlet request. - boolean inputsValid = action.populatePropertyTable(request); - - // Run the action and obtain the return code (fail/success). - boolean actionResult = action.execute(); - - if (actionResult) { -%> - <script language="javascript"> - perspectiveContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_perspective_content.jsp"))%>"; - </script> -<% - } - else { -%> - <script language="javascript"> - favStatusContent.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>"; - </script> -<% - } -%> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesConfirmJSP.jsp deleted file mode 100644 index 4aeb1250a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/RestoreDefaultFavoritesConfirmJSP.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 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/panes.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()%>"> - <script language="javascript"> - if (confirm("<%=controller.getFavoritesPerspective().getMessage("MSG_CONFIRM_RESTORE_DEFAULT_FAVORITES")%>")) - perspectiveWorkArea.location = "<%=response.encodeURL(controller.getPathWithContext("favorites/actions/RestoreDefaultFavoritesActionJSP.jsp"))%>"; - </script> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesNodeActionJSP.jsp deleted file mode 100644 index 9556e0612..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesNodeActionJSP.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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesNodeAction" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% -// Prepare the action. -SelectFavoritesNodeAction action = new SelectFavoritesNodeAction(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/favorites/actions/SelectFavoritesToolActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesToolActionJSP.jsp deleted file mode 100644 index f1b7d200d..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesToolActionJSP.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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesToolAction" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% -// Prepare the action. -SelectFavoritesToolAction action = new SelectFavoritesToolAction(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/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp deleted file mode 100644 index aef11983d..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SelectFavoritesUserDefUDDIRegistryNodeActionJSP.jsp +++ /dev/null @@ -1,37 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.SelectFavoritesUserDefUDDIRegistryNodeAction" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% -// Prepare the action. -SelectFavoritesUserDefUDDIRegistryNodeAction action = new SelectFavoritesUserDefUDDIRegistryNodeAction(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(); - -//make sure to refresh node view -action.setTreeRefreshNeeded(); - - -// 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/favorites/actions/SwitchPerspectiveFromFavoritesActionJSP.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SwitchPerspectiveFromFavoritesActionJSP.jsp deleted file mode 100644 index 0ba0cde9c..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/actions/SwitchPerspectiveFromFavoritesActionJSP.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.favorites.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 -SwitchPerspectiveFromFavoritesAction action = new SwitchPerspectiveFromFavoritesAction(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/favorites/fav_actions_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_actions_container.jsp deleted file mode 100644 index c779abc99..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%></title> -</head> -<frameset rows="<%=favPerspective.getActionsContainerFramesetRows()%>" bgcolor="#ECE9D8"> - <frame name="<%=FavoritesFrameNames.PROPERTIES_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_container.jsp"))%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0> - <frame name="<%=FavoritesFrameNames.STATUS_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_container.jsp"))%>" scrolling="no" frameborder=1 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_container.jsp deleted file mode 100644 index 570e2ac4d..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.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"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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="<%=FavoritesFrameNames.NAVIGATOR_TOOLBAR%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> - <frame name="<%=FavoritesFrameNames.NAVIGATOR_CONTENT%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_content.jsp deleted file mode 100644 index cb8fc02f9..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.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 = favPerspective.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/favorites/fav_navigator_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_navigator_toolbar.jsp deleted file mode 100644 index 0512197a3..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.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"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_TOOLBAR")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>"> -<jsp:include page="/favorites/scripts/favoritesframesets.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("favorites/actions/ResizeFavoritesFramesActionJSP.jsp"); -%> -</jsp:useBean> -<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"> -<% - formFrameName.append(FavoritesFrameNames.NAVIGATOR_CONTAINER); -%> -</jsp:useBean> -<jsp:include page="/favorites/forms/ProcessFavoritesFramesetsForm.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 (favPerspective.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 altRestore = favPerspective.getMessage("ALT_RESTORE_DEFAULT_FAVORITES"); - String altRemove = favPerspective.getMessage("ALT_REMOVE_FAVORITE"); -%> - <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("favorites/actions/RestoreDefaultFavoritesConfirmJSP.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="<%=altRestore%>" title="<%=altRestore%>"></a></td> - <td valign="middle" align="center" width=25 height=25><a href="<%=response.encodeURL(controller.getPathWithContext("favorites/actions/RemoveFavoritesActionJSP.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="<%=altRemove%>" title="<%=altRemove%>"></a></td> - </tr> - </table> - </div> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_perspective_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_perspective_content.jsp deleted file mode 100644 index 2491c8a7d..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.getMessage("FRAME_TITLE_PERSPECTIVE_CONTENT")%></title> -</head> -<frameset cols="<%=favPerspective.getPerspectiveContentFramesetCols()%>" bgcolor=#ECE9D8> - <% - if (org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.isRTL()) - { - %> - <frame name="<%=FavoritesFrameNames.ACTIONS_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_actions_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <frame name="<%=FavoritesFrameNames.NAVIGATOR_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <% - } - else - { - %> - <frame name="<%=FavoritesFrameNames.NAVIGATOR_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_NAVIGATOR_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_navigator_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <frame name="<%=FavoritesFrameNames.ACTIONS_CONTAINER%>" title="<%=favPerspective.getMessage("FRAME_TITLE_ACTIONS_CONTAINER")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_actions_container.jsp"))%>" marginwidth=0 marginheight=0 scrolling="no" frameborder=1> - <% - } - %> -</frameset> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_container.jsp deleted file mode 100644 index 89a612537..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTAINER")%></title> -</head> -<frameset rows="33,*" border=0 bgcolor="#ECE9D8"> - <frame name="<%=FavoritesFrameNames.PROPERTIES_TOOLBAR%>" title="<%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> - <frame name="<%=FavoritesFrameNames.PROPERTIES_CONTENT%>" title="<%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_properties_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_content.jsp deleted file mode 100644 index 4f956a431..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.favorites.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"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.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 = favPerspective.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/favorites/fav_properties_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_toolbar.jsp deleted file mode 100644 index 02f4db5e5..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_properties_toolbar.jsp +++ /dev/null @@ -1,83 +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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.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"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.getMessage("FRAME_TITLE_PROPERTIES_TOOLBAR")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>"> -<jsp:include page="/favorites/scripts/favoritesframesets.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("favorites/actions/ResizeFavoritesFramesActionJSP.jsp"); -%> -</jsp:useBean> -<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"> -<% - formFrameName.append(FavoritesFrameNames.PROPERTIES_CONTAINER); -%> -</jsp:useBean> -<jsp:include page="/favorites/forms/ProcessFavoritesFramesetsForm.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 (favPerspective.getPerspectiveContentFramesetCols().endsWith("100%")) - { - if (favPerspective.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 = favPerspective.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/favorites/fav_status_container.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_container.jsp deleted file mode 100644 index 215fc526e..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.getMessage("FRAME_TITLE_STATUS_CONTAINER")%></title> -</head> -<frameset rows="33,*" border=0 bgcolor="#ECE9D8"> - <frame name="<%=FavoritesFrameNames.STATUS_TOOLBAR%>" title="<%=favPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_toolbar.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> - <frame name="<%=FavoritesFrameNames.STATUS_CONTENT%>" title="<%=favPerspective.getMessage("FRAME_TITLE_STATUS_CONTENT")%>" src="<%=response.encodeURL(controller.getPathWithContext("favorites/fav_status_content.jsp"))%>" noresize scrolling="no" frameborder=0 marginwidth=0 marginheight=0> -</frameset> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_content.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_content.jsp deleted file mode 100644 index 67b55c179..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_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.favorites.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"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.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(favPerspective.getMessageQueue().getMessagesFromList())%> - </pre> - </td> - </tr> - </table> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_toolbar.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_toolbar.jsp deleted file mode 100644 index f0748b7e0..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/fav_status_toolbar.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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.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"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<!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><%=favPerspective.getMessage("FRAME_TITLE_STATUS_TOOLBAR")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/toolbar.css"))%>"> -<jsp:include page="/favorites/scripts/favoritesframesets.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("favorites/actions/ResizeFavoritesFramesActionJSP.jsp"); -%> -</jsp:useBean> -<jsp:useBean id="formFrameName" class="java.lang.StringBuffer" scope="request"> -<% - formFrameName.append(FavoritesFrameNames.STATUS_CONTAINER); -%> -</jsp:useBean> -<jsp:include page="/favorites/forms/ProcessFavoritesFramesetsForm.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 (favPerspective.getPerspectiveContentFramesetCols().endsWith("100%")) - { - if (favPerspective.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("favorites/fav_status_content.jsp"))%>" target="<%=FavoritesFrameNames.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> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesImportToWorkbenchForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesImportToWorkbenchForm.jsp deleted file mode 100644 index 48b418436..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesImportToWorkbenchForm.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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*, - org.eclipse.wst.ws.internal.explorer.platform.perspective.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<jsp:useBean id="formProperties" class="java.util.Hashtable" scope="request"> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - // The selected node must be a FavoritesWSDLServiceNode. - Node selectedNode = nodeManager.getSelectedNode(); - FavoritesWSDLServiceElement wsdlElement = (FavoritesWSDLServiceElement)selectedNode.getTreeElement(); - formProperties.put("formActionLink","favorites/actions/FavoritesImportToWorkbenchActionJSP.jsp"); - formProperties.put("wsdlURL",wsdlElement.getWsdlUrl()); -%> -</jsp:useBean> -<jsp:include page="/forms/ImportWSDLAndWSILToWorkbenchForm.jsp" flush="true"/> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesLaunchWebServiceWizardForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesLaunchWebServiceWizardForm.jsp deleted file mode 100644 index e9323df91..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesLaunchWebServiceWizardForm.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("favorites/actions/FavoritesLaunchWebServiceWizardActionJSP.jsp"); -%> -</jsp:useBean> -<jsp:include page="/forms/LaunchWebServiceWizardForm.jsp" flush="true"/> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp deleted file mode 100644 index b50b6d678..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIBusinessDetailsPage.jsp +++ /dev/null @@ -1,101 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*, - org.apache.wsil.extension.uddi.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - ToolManager currentToolManager = selectedNode.getCurrentToolManager(); - 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><%=favPerspective.getMessage("FORM_TITLE_UDDI_BUSINESS_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 = favPerspective.getMessage("ALT_FAVORITES_UDDI_BUSINESS_DETAILS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <% - if (selectedElement instanceof FavoritesUDDIBusinessElement) { - FavoritesUDDIBusinessElement busElement = (FavoritesUDDIBusinessElement)selectedElement; - %> - - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_BUSINESS_NAME")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=busElement.getName()%> - </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"> - <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=busElement.getInquiryURL()%> - </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"> - <%=favPerspective.getMessage("FORM_LABEL_BUSINESS_KEY")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=busElement.getBusinessKey()%> - </td> - </tr> - </table> -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"> -<% - currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager); -%> -</jsp:useBean> -<jsp:include page="/forms/otherActions.jsp" flush="true"/> - - <% - } - %> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp deleted file mode 100644 index 25d934cb3..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIRegistryDetailsPage.jsp +++ /dev/null @@ -1,155 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*, - org.eclipse.wst.ws.internal.explorer.platform.util.*, - org.apache.wsil.extension.uddi.*, - java.io.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - ToolManager currentToolManager = selectedNode.getCurrentToolManager(); - 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><%=favPerspective.getMessage("FORM_TITLE_UDDI_REGISTRY_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 = favPerspective.getMessage("ALT_FAVORITES_UDDI_REGISTRY_DETAILS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <% - if (selectedElement instanceof FavoritesUDDIRegistryElement) { - FavoritesUDDIRegistryElement regElement = (FavoritesUDDIRegistryElement)selectedElement; - String registryName = regElement.getName(); - %> - - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_REGISTRY_NAME")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=registryName%> - </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"> - <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=regElement.getInquiryURL()%> - </td> - </tr> - </table> -<% - String publishURL = regElement.getPublishURL(); - if (Validator.validateURL(publishURL)) - { -%> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_PUBLISH_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=publishURL%> - </td> - </tr> - </table> -<% - } - - String registryURL = regElement.getRegistrationURL(); - if (Validator.validateURL(registryURL)) - { -%> - <br> - <table> - <tr> - <td align="left"> - <%=favPerspective.getMessage("FORM_LABEL_REGISTRY_URL",registryURL)%> - </td> - </tr> - </table> -<% - } - - StringBuffer categoryDirectory = new StringBuffer(); - FavoritesUDDIRegistryFolderElement.formCategoriesDirectory(categoryDirectory,controller.getServletEngineStateLocation(),registryName); - File categoryDirectoryFile = new File(categoryDirectory.toString()); - String[] categoryFiles = categoryDirectoryFile.list(); - if (categoryFiles != null) - { -%> -<br> -<table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_USER_DEFINED_CATEGORY_DATA_FILES")%> - </th> - </tr> -<% - for (int i=0;i<categoryFiles.length;i++) - { -%> - <tr> - <td class="tablecells"> - <%=categoryFiles[i]%> - </td> - </tr> -<% - } -%> -</table> -<% - } -%> -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"> -<% - currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager); -%> -</jsp:useBean> -<jsp:include page="/forms/otherActions.jsp" flush="true"/> -<% - } -%> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceDetailsPage.jsp deleted file mode 100644 index be43c524a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceDetailsPage.jsp +++ /dev/null @@ -1,101 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*, - org.apache.wsil.extension.uddi.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - ToolManager currentToolManager = selectedNode.getCurrentToolManager(); - 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><%=favPerspective.getMessage("FORM_TITLE_UDDI_SERVICE_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 = favPerspective.getMessage("ALT_FAVORITES_UDDI_SERVICE_DETAILS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <% - if (selectedElement instanceof FavoritesUDDIServiceElement) { - FavoritesUDDIServiceElement serElement = (FavoritesUDDIServiceElement)selectedElement; - %> - - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_SERVICE_NAME")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=serElement.getName()%> - </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"> - <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=serElement.getInquiryURL()%> - </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"> - <%=favPerspective.getMessage("FORM_LABEL_SERVICE_KEY")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=serElement.getServiceKey()%> - </td> - </tr> - </table> -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"> -<% - currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager); -%> -</jsp:useBean> -<jsp:include page="/forms/otherActions.jsp" flush="true"/> - - <% - } - %> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp deleted file mode 100644 index 668423d50..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUDDIServiceIntDetailsPage.jsp +++ /dev/null @@ -1,101 +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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*, - org.apache.wsil.extension.uddi.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - ToolManager currentToolManager = selectedNode.getCurrentToolManager(); - 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><%=favPerspective.getMessage("FORM_TITLE_UDDI_SERVICE_INTERFACE_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 = favPerspective.getMessage("ALT_FAVORITES_UDDI_SERVICE_INTERFACE_DETAILS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <% - if (selectedElement instanceof FavoritesUDDIServiceInterfaceElement) { - FavoritesUDDIServiceInterfaceElement serIntElement = (FavoritesUDDIServiceInterfaceElement)selectedElement; - %> - - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_SERVICE_INTERFACE_NAME")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=serIntElement.getName()%> - </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"> - <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=serIntElement.getInquiryURL()%> - </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"> - <%=favPerspective.getMessage("FORM_LABEL_SERVICE_INTERFACE_KEY")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=serIntElement.getServiceInterfaceKey()%> - </td> - </tr> - </table> -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"> -<% - currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager); -%> -</jsp:useBean> -<jsp:include page="/forms/otherActions.jsp" flush="true"/> - - <% - } - %> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp deleted file mode 100644 index a408a1ade..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesUserDefUDDIRegistryDetailsPage.jsp +++ /dev/null @@ -1,312 +0,0 @@ -<% -/******************************************************************************* - * Copyright (c) 2005, 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 - * -------- -------- ----------------------------------------------------------- - * 20060912 141796 gilberta@ca.ibm.com - Gilbert Andrews - *******************************************************************************/ -%> -<%@ 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*, - org.eclipse.wst.ws.internal.explorer.platform.util.*, - org.apache.wsil.extension.uddi.*, - java.io.*, - java.util.*, - org.eclipse.wst.ws.internal.model.v10.registry.Name, - org.eclipse.wst.ws.internal.model.v10.registry.Description, - org.eclipse.wst.ws.internal.model.v10.uddiregistry.Taxonomies, - org.eclipse.wst.ws.internal.model.v10.taxonomy.Taxonomy" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - ToolManager currentToolManager = selectedNode.getCurrentToolManager(); - 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><%=favPerspective.getMessage("FORM_TITLE_USER_DEF_UDDI_REGISTRY_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 = favPerspective.getMessage("ALT_FAVORITES_USER_DEF_UDDI_REGISTRY_DETAILS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <% - if (selectedElement instanceof FavoritesUserDefUDDIRegistryElement) { - FavoritesUserDefUDDIRegistryElement regElement = (FavoritesUserDefUDDIRegistryElement)selectedElement; - regElement.refreshMeta(); - - String version = regElement.getVersion(); - if (version != null) - { - %> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_UDDI_VERSION")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=version%> - </td> - </tr> - </table> - <% - } - %> - - <% - List names = regElement.getNames(); - if (names != null && !names.isEmpty()) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left" width="1" nowrap> - <%=favPerspective.getMessage("FORM_LABEL_LANGUAGE")%> - </th> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_REGISTRY_NAME")%> - </th> - </tr> - <% - for (Iterator it = names.iterator(); it.hasNext();) - { - Name name = (Name)it.next(); - String lang = name.getLang(); - %> - <tr> - <td class="tablecells"><%=lang != null ? lang : "--"%></td> - <td class="tablecells"><%=name.getValue()%></td> - </tr> - <% - } - %> - </table> - <% - } - %> - - <% - List descs = regElement.getDescs(); - if (descs != null && !descs.isEmpty()) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left" width="1" nowrap> - <%=favPerspective.getMessage("FORM_LABEL_LANGUAGE")%> - </th> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_DESC")%> - </th> - </tr> - <% - for (Iterator it = descs.iterator(); it.hasNext();) - { - Description desc = (Description)it.next(); - String lang = desc.getLang(); - %> - <tr> - <td class="tablecells"><%=lang != null ? lang : "--"%></td> - <td class="tablecells"><%=desc.getValue()%></td> - </tr> - <% - } - %> - </table> - <% - } - %> - - <% - String defaultLogin = regElement.getDefaultLogin(); - if (defaultLogin != null) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_DEFAULT_LOGIN")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=defaultLogin%> - </td> - </tr> - </table> - <% - } - %> - - <% - String defaultPassword = regElement.getDefaultPassword(); - if (defaultPassword != null) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_DEFAULT_PASSWORD")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=defaultPassword%> - </td> - </tr> - </table> - <% - } - %> - - <% - String inquiryURL = regElement.getInquiryURL(); - if (inquiryURL != null) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_INQUIRY_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=inquiryURL%> - </td> - </tr> - </table> - <% - } - %> - - <% - String publishURL = regElement.getPublishURL(); - if (Validator.validateURL(publishURL)) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_PUBLISH_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=publishURL%> - </td> - </tr> - </table> - <% - } - - String secureInquiryURL = regElement.getSecureInquiryURL(); - if (Validator.validateURL(secureInquiryURL)) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_SECURE_INQUIRY_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=secureInquiryURL%> - </td> - </tr> - </table> - <% - } - - String securePublishURL = regElement.getSecurePublishURL(); - if (Validator.validateURL(securePublishURL)) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_SECURE_PUBLISH_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=securePublishURL%> - </td> - </tr> - </table> - <% - } - %> - - <% - Taxonomy[] taxonomies = regElement.getTaxonomies(); - if (taxonomies != null && taxonomies.length > 0) - { - %> - <br> - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_TAXONOMY")%> - </th> - </tr> - <% - for (int i=0; i<taxonomies.length; i++) - { - Taxonomy taxonomy = taxonomies[i]; - %> - <tr> - <td class="tablecells"><%=taxonomy.getName()%></td> - </tr> - <% - } - %> - </table> - <% - } - %> - -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"> -<% - currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager); -%> -</jsp:useBean> -<jsp:include page="/forms/otherActions.jsp" flush="true"/> -<% - } -%> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSDLDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSDLDetailsPage.jsp deleted file mode 100644 index 24495387a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSDLDetailsPage.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.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.datamodel.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - ToolManager currentToolManager = selectedNode.getCurrentToolManager(); - 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><%=favPerspective.getMessage("FORM_TITLE_WSDL_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 = favPerspective.getMessage("ALT_FAVORITES_WSDL_DETAILS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <% - if (selectedElement instanceof FavoritesWSDLServiceElement) { - FavoritesWSDLServiceElement wsdlElement = (FavoritesWSDLServiceElement)selectedElement; - %> - - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="headercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=wsdlElement.getWsdlUrl()%> - </td> - </tr> - </table> -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"> -<% - currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager); -%> -</jsp:useBean> -<jsp:include page="/forms/otherActions.jsp" flush="true"/> - - <% - } - %> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSILDetailsPage.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSILDetailsPage.jsp deleted file mode 100644 index aee1ad75a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/FavoritesWSILDetailsPage.jsp +++ /dev/null @@ -1,73 +0,0 @@ -<% -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -%> -<%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.datamodel.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*, - org.apache.wsil.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favPerspective.getNodeManager(); - Node selectedNode = nodeManager.getSelectedNode(); - ToolManager currentToolManager = selectedNode.getCurrentToolManager(); - 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><%=favPerspective.getMessage("FORM_TITLE_WSIL_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 = favPerspective.getMessage("ALT_FAVORITES_WSIL_DETAILS"); - %> - <%@ include file = "/forms/formheader.inc" %> - <% - if (selectedElement instanceof FavoritesWSILElement) { - FavoritesWSILElement wsilElement = (FavoritesWSILElement)selectedElement; - %> - - <table width="95%" border=0 cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="singleheadercolor" height=20 valign="bottom" align="left"> - <%=favPerspective.getMessage("FORM_LABEL_URL")%> - </th> - </tr> - <tr> - <td class="tablecells"> - <%=wsilElement.getWsilUrl()%> - </td> - </tr> - </table> -<jsp:useBean id="currentToolManagerHash" class="java.util.Hashtable" scope="request"> -<% - currentToolManagerHash.put(ActionInputs.CURRENT_TOOL_MANAGER,currentToolManager); -%> -</jsp:useBean> -<jsp:include page="/forms/otherActions.jsp" flush="true"/> - - <% - } - %> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/ProcessFavoritesFramesetsForm.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/ProcessFavoritesFramesetsForm.jsp deleted file mode 100644 index 2f9a71ca9..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/forms/ProcessFavoritesFramesetsForm.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.favorites.perspective.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.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"/> -<% - FavoritesPerspective favPerspective = controller.getFavoritesPerspective(); -%> -<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="<%=FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>" type="hidden" value="<%=favPerspective.getPerspectiveContentFramesetCols()%>"> - <input name="<%=FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>" type="hidden" value="<%=favPerspective.getActionsContainerFramesetRows()%>"> -</form> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_enabled.gif Binary files differdeleted file mode 100644 index e65d19a11..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_highlighted.gif Binary files differdeleted file mode 100644 index 4aa3ddcb5..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_uddi_perspective_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_enabled.gif Binary files differdeleted file mode 100644 index 074184164..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_highlighted.gif Binary files differdeleted file mode 100644 index 362b8cb5a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/add_to_wsil_perspective_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_enabled.gif Binary files differdeleted file mode 100644 index 0fa09842f..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_highlighted.gif Binary files differdeleted file mode 100644 index 18a4ceb03..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_WSIL_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_enabled.gif Binary files differdeleted file mode 100644 index bd1e37adc..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_highlighted.gif Binary files differdeleted file mode 100644 index d51b97517..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_business_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_enabled.gif Binary files differdeleted file mode 100644 index ef2aa155f..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_highlighted.gif Binary files differdeleted file mode 100644 index d91ecb55f..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_registry_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_enabled.gif Binary files differdeleted file mode 100644 index c351daff7..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_highlighted.gif Binary files differdeleted file mode 100644 index 53e1335da..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_enabled.gif Binary files differdeleted file mode 100644 index 446986a1a..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_highlighted.gif Binary files differdeleted file mode 100644 index 815312251..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_service_interface_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_enabled.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_enabled.gif Binary files differdeleted file mode 100644 index 6dc028508..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_enabled.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_highlighted.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_highlighted.gif Binary files differdeleted file mode 100644 index 428c8ea5e..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/list_wsdl_highlighted.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_business_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_business_node.gif Binary files differdeleted file mode 100644 index d3d6a778b..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_business_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_cat_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_cat_node.gif Binary files differdeleted file mode 100644 index feec281b1..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_cat_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_node.gif Binary files differdeleted file mode 100644 index 5b43cae7b..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_registry_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_interface_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_interface_node.gif Binary files differdeleted file mode 100644 index 21325ca77..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_interface_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_node.gif Binary files differdeleted file mode 100644 index 8c0252a2f..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/uddi_service_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsdl_service_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsdl_service_node.gif Binary files differdeleted file mode 100644 index 8fb844f5b..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsdl_service_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsil_node.gif b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsil_node.gif Binary files differdeleted file mode 100644 index 7c5916fb6..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/images/wsil_node.gif +++ /dev/null diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesFormSubmit.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesFormSubmit.jsp deleted file mode 100644 index 915fe97eb..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesFormSubmit.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="/favorites/scripts/favoritesTable.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.getFavoritesPerspective().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/favorites/scripts/favoritesPanes.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesPanes.jsp deleted file mode 100644 index 7ca588e60..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesPanes.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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.constants.*" %> - -<jsp:include page="/scripts/panes.jsp" flush="true"/> -<script language="javascript"> - var favNavigatorContainer = perspectiveContent.frames["<%=FavoritesFrameNames.NAVIGATOR_CONTAINER%>"]; - var favNavigatorToolbar = favNavigatorContainer.frames["<%=FavoritesFrameNames.NAVIGATOR_TOOLBAR%>"]; - var favNavigatorContent = favNavigatorContainer.frames["<%=FavoritesFrameNames.NAVIGATOR_CONTENT%>"]; - var favActionsContainer = perspectiveContent.frames["<%=FavoritesFrameNames.ACTIONS_CONTAINER%>"]; - var favPropertiesContainer = favActionsContainer.frames["<%=FavoritesFrameNames.PROPERTIES_CONTAINER%>"]; - var favPropertiesToolbar = favPropertiesContainer.frames["<%=FavoritesFrameNames.PROPERTIES_TOOLBAR%>"]; - var favPropertiesContent = favPropertiesContainer.frames["<%=FavoritesFrameNames.PROPERTIES_CONTENT%>"]; - var favStatusContainer = favActionsContainer.frames["<%=FavoritesFrameNames.STATUS_CONTAINER%>"]; - var favStatusToolbar = favStatusContainer.frames["<%=FavoritesFrameNames.STATUS_TOOLBAR%>"]; - var favStatusContent = favStatusContainer.frames["<%=FavoritesFrameNames.STATUS_CONTENT%>"]; -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesTable.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesTable.jsp deleted file mode 100644 index e76ad2b22..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesTable.jsp +++ /dev/null @@ -1,62 +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.favorites.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 favHandleCheckAllClick(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 = "<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>"; - } - else { - highlightRow(table.rows[i],"tablecells"); - rowCheckbox.name = ""; - } - } - } - - function validateCheckBoxInput(checkbox, isChecked) { - if (isChecked) { - checkbox.name = "<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>"; - } - 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); - } - } - -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesframesets.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesframesets.jsp deleted file mode 100644 index 4fbe09025..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/scripts/favoritesframesets.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.favorites.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["<%=FavoritesFrameNames.ACTIONS_CONTAINER%>"].document.getElementsByTagName("frameset").item(0); - } - - function processFramesetSizes(framesetSizesForm) - { - toggleDoubleClickColumnTitle(); - var perspectiveContentFrameset = getPerspectiveContentFrameset(); - var actionsContainerFrameset = getActionsContainerFrameset(); - framesetSizesForm.<%=FavoritesActionInputs.FRAMESET_COLS_PERSPECTIVE_CONTENT%>.value = perspectiveContentFrameset.cols; - framesetSizesForm.<%=FavoritesActionInputs.FRAMESET_ROWS_ACTIONS_CONTAINER%>.value = actionsContainerFrameset.rows; - framesetSizesForm.submit(); - } -</script> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/.cvsignore b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/.cvsignore deleted file mode 100644 index 5738ffe94..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -*.java -*.class diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIBusinessView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIBusinessView.jsp deleted file mode 100644 index d7cadc773..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIBusinessView.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="java.util.Enumeration, - java.util.Vector, - 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divFavoriteUDDIBusinessTable = "divFavoriteUDDIBusinessTable"; - String xdivFavoriteUDDIBusinessTable = "xdivFavoriteUDDIBusinessTable"; - - FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favoritesPerspective.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><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_BUSINESS_LIST")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/> - <jsp:include page="/favorites/scripts/favoritesTable.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 = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_BUSINESS"); -%> -<%@ include file="/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_BUSINESS_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof FavoritesUDDIBusinessFolderElement) { - %> - <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table width="95%" border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divFavoriteUDDIBusinessTable%>','<%=xdivFavoriteUDDIBusinessTable%>')"><img name="<%=xdivFavoriteUDDIBusinessTable%>" 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><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_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="<%=divFavoriteUDDIBusinessTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIBusinessTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th> - </tr> - <% - Enumeration e = ((FavoritesUDDIBusinessFolderElement)selectedElement).getAllFavorites(); - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - e = sortedVector.elements(); - while (e.hasMoreElements()) { - FavoritesUDDIBusinessElement favUDDIBusinessElement = (FavoritesUDDIBusinessElement)e.nextElement(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIBusinessElement).getNodeId()%>" 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(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIBusinessElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIBusinessElement.getName()%></a></td> - </tr> - <% - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divFavoriteUDDIBusinessTable%>','<%=xdivFavoriteUDDIBusinessTable%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIBusinessTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIBusinessTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> - </form> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIRegistryView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIRegistryView.jsp deleted file mode 100644 index f97ec69f9..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIRegistryView.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="java.util.Enumeration, - java.util.Vector, - 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divFavoriteUDDIRegistryTable = "divFavoriteUDDIRegistryTable"; - String xdivFavoriteUDDIRegistryTable = "xdivFavoriteUDDIRegistryTable"; - - FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favoritesPerspective.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><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_REGISTRY_LIST")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/> - <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin"> -<div id="contentborder"> - <% - String titleImagePath = "favorites/images/list_registry_highlighted.gif"; - String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_REGISTRY"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_REGISTRY_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof FavoritesUDDIRegistryFolderElement) { - %> - <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table width="95%" border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>')"><img name="<%=xdivFavoriteUDDIRegistryTable%>" 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><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_UDDI_REGISTRY")%></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="<%=divFavoriteUDDIRegistryTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIRegistryTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th> - </tr> - <% - Enumeration e = ((FavoritesUDDIRegistryFolderElement)selectedElement).getAllFavorites(); - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - e = sortedVector.elements(); - while (e.hasMoreElements()) { - FavoritesUDDIRegistryElement favUDDIRegistryElement = (FavoritesUDDIRegistryElement)e.nextElement(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIRegistryElement).getNodeId()%>" 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(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIRegistryElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIRegistryElement.getName()%></a></td> - </tr> - <% - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIRegistryTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIRegistryTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> - </form> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceInterfaceView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceInterfaceView.jsp deleted file mode 100644 index 8c3ec16ce..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceInterfaceView.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="java.util.Enumeration, - java.util.Vector, - 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divFavoriteUDDIServiceIntTable = "divFavoriteUDDIServiceIntTable"; - String xdivFavoriteUDDIServiceIntTable = "xdivFavoriteUDDIServiceIntTable"; - - FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favoritesPerspective.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><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_SERVICE_INTERFACE_LIST")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/> - <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin"> -<div id="contentborder"> - <% - String titleImagePath = "favorites/images/list_service_interface_highlighted.gif"; - String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_SERVICE_INTERFACE"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_SERVICE_INTERFACE_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof FavoritesUDDIServiceInterfaceFolderElement) { - %> - <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table width="95%" border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divFavoriteUDDIServiceIntTable%>','<%=xdivFavoriteUDDIServiceIntTable%>')"><img name="<%=xdivFavoriteUDDIServiceIntTable%>" 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><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_UDDI_SERVICE_INTERFACE")%></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="<%=divFavoriteUDDIServiceIntTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIServiceIntTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th> - </tr> - <% - Enumeration e = ((FavoritesUDDIServiceInterfaceFolderElement)selectedElement).getAllFavorites(); - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - e = sortedVector.elements(); - while (e.hasMoreElements()) { - FavoritesUDDIServiceInterfaceElement favUDDISerIntElement = (FavoritesUDDIServiceInterfaceElement)e.nextElement(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDISerIntElement).getNodeId()%>" 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(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDISerIntElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDISerIntElement.getName()%></a></td> - </tr> - <% - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divFavoriteUDDIServiceIntTable%>','<%=xdivFavoriteUDDIServiceIntTable%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceIntTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceIntTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> - </form> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceView.jsp deleted file mode 100644 index bd0575f4c..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUDDIServiceView.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="java.util.Enumeration, - java.util.Vector, - 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divFavoriteUDDIServiceTable = "divFavoriteUDDIServiceTable"; - String xdivFavoriteUDDIServiceTable = "xdivFavoriteUDDIServiceTable"; - - FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favoritesPerspective.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><%=favoritesPerspective.getMessage("VIEW_TITLE_UDDI_SERVICE_LIST")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/> - <jsp:include page="/favorites/scripts/favoritesTable.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 = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_UDDI_SERVICE"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_UDDI_SERVICE_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof FavoritesUDDIServiceFolderElement) { - %> - <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table width="95%" border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divFavoriteUDDIServiceTable%>','<%=xdivFavoriteUDDIServiceTable%>')"><img name="<%=xdivFavoriteUDDIServiceTable%>" 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><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_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="<%=divFavoriteUDDIServiceTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIServiceTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th> - </tr> - <% - Enumeration e = ((FavoritesUDDIServiceFolderElement)selectedElement).getAllFavorites(); - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - e = sortedVector.elements(); - while (e.hasMoreElements()) { - FavoritesUDDIServiceElement favUDDIServiceElement = (FavoritesUDDIServiceElement)e.nextElement(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIServiceElement).getNodeId()%>" 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(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIServiceElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIServiceElement.getName()%></a></td> - </tr> - <% - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divFavoriteUDDIServiceTable%>','<%=xdivFavoriteUDDIServiceTable%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIServiceTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> - </form> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp deleted file mode 100644 index 4bd8d80c2..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteUserDefUDDIRegistryView.jsp +++ /dev/null @@ -1,124 +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.Enumeration, - java.util.Vector, - 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divFavoriteUDDIRegistryTable = "divFavoriteUDDIRegistryTable"; - String xdivFavoriteUDDIRegistryTable = "xdivFavoriteUDDIRegistryTable"; - - FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favoritesPerspective.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><%=favoritesPerspective.getMessage("VIEW_TITLE_USER_DEF_UDDI_REGISTRY_LIST")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/> - <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin"> -<div id="contentborder"> - <% - String titleImagePath = "favorites/images/list_registry_highlighted.gif"; - String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_USER_DEF_UDDI_REGISTRY"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_USER_DEF_UDDI_REGISTRY_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof FavoritesUserDefUDDIRegistryFolderElement) { - %> - <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table width="95%" border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>')"><img name="<%=xdivFavoriteUDDIRegistryTable%>" 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><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_USER_DEF_UDDI_REGISTRY")%></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="<%=divFavoriteUDDIRegistryTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteUDDIRegistryTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_NAME")%></th> - </tr> - <% - Enumeration e = ((FavoritesUserDefUDDIRegistryFolderElement)selectedElement).getAllFavorites(); - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - e = sortedVector.elements(); - while (e.hasMoreElements()) { - FavoritesUserDefUDDIRegistryElement favUDDIRegistryElement = (FavoritesUserDefUDDIRegistryElement)e.nextElement(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favUDDIRegistryElement).getNodeId()%>" 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(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favUDDIRegistryElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favUDDIRegistryElement.getName()%></a></td> - </tr> - <% - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divFavoriteUDDIRegistryTable%>','<%=xdivFavoriteUDDIRegistryTable%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_UDDI_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteUDDIRegistryTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddToUDDIPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> - </form> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSDLServiceView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSDLServiceView.jsp deleted file mode 100644 index a96cc1ef2..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSDLServiceView.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="java.util.Enumeration, - java.util.Vector, - 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divFavoriteWSDLTable = "divFavoriteWSDLTable"; - String xdivFavoriteWSDLTable = "xdivFavoriteWSDLTable"; - - FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favoritesPerspective.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><%=favoritesPerspective.getMessage("VIEW_TITLE_WSDL_SERVICE_LIST")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/> - <jsp:include page="/favorites/scripts/favoritesTable.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 = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_WSDL_SERVICE"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_WSDL_SERVICE_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof FavoritesWSDLServiceFolderElement) { - %> - <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table width="95%" border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divFavoriteWSDLTable%>','<%=xdivFavoriteWSDLTable%>')"><img name="<%=xdivFavoriteWSDLTable%>" 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><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_WSDL")%></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="<%=divFavoriteWSDLTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteWSDLTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_URL")%></th> - </tr> - <% - Enumeration e = ((FavoritesWSDLServiceFolderElement)selectedElement).getAllFavorites(); - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - e = sortedVector.elements(); - while (e.hasMoreElements()) { - FavoritesWSDLServiceElement favWSDLServiceElement = (FavoritesWSDLServiceElement)e.nextElement(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favWSDLServiceElement).getNodeId()%>" 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(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favWSDLServiceElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favWSDLServiceElement.getWsdlUrl()%></a></td> - </tr> - <% - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divFavoriteWSDLTable%>','<%=xdivFavoriteWSDLTable%>'); - </script> - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_WSDL_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSDLTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(FavoritesAddToWSDLPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSDLTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } -%> - </form> -</div> -</body> -</html> diff --git a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSILView.jsp b/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSILView.jsp deleted file mode 100644 index a117be508..000000000 --- a/bundles/org.eclipse.wst.ws.explorer/wsexplorer/favorites/views/ListFavoriteWSILView.jsp +++ /dev/null @@ -1,129 +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.Enumeration, - java.util.Vector, - 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.favorites.constants.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.actions.*, - org.eclipse.wst.ws.internal.explorer.platform.favorites.perspective.FavoritesPerspective, - org.eclipse.wst.ws.internal.explorer.platform.favorites.datamodel.*" %> - -<jsp:useBean id="controller" class="org.eclipse.wst.ws.internal.explorer.platform.perspective.Controller" scope="session"/> -<% - String divFavoriteWSILTable = "divFavoriteWSILTable"; - String xdivFavoriteWSILTable = "xdivFavoriteWSILTable"; - - FavoritesPerspective favoritesPerspective = controller.getFavoritesPerspective(); - NodeManager nodeManager = favoritesPerspective.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><%=favoritesPerspective.getMessage("VIEW_TITLE_WSIL_LIST")%></title> - <link rel="stylesheet" type="text/css" href="<%=response.encodeURL(controller.getPathWithContext("css/windows.css"))%>"> - <jsp:include page="/favorites/scripts/favoritesFormSubmit.jsp" flush="true"/> - <jsp:include page="/favorites/scripts/favoritesTable.jsp" flush="true"/> -</head> -<body dir="<%=org.eclipse.wst.ws.internal.explorer.platform.util.DirUtils.getDir()%>" class="contentbodymargin"> -<div id="contentborder"> - <% - String titleImagePath = "favorites/images/list_WSIL_highlighted.gif"; - String title = favoritesPerspective.getMessage("ALT_LIST_FAVORITE_WSIL"); - %> - <%@ include file = "/forms/formheader.inc" %> - <table> - <tr> - <td class="labels"> - <%=favoritesPerspective.getMessage("FORM_LABEL_LIST_FAVORITE_WSIL_DESC")%> - </td> - </tr> - </table> - <form action="<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" style="margin-top:10px;"> - <% - if (selectedElement instanceof FavoritesWSILFolderElement) { - %> - <input type="hidden" name="<%=FavoritesActionInputs.MULTIPLE_LINK_ACTION%>" value="1"> - <table width="95%" border=0 cellpadding=6 cellspacing=0> - <tr> - <td height=20 valign="bottom" align="left" nowrap width=11> - <a href="javascript:twist('<%=divFavoriteWSILTable%>','<%=xdivFavoriteWSILTable%>')"><img name="<%=xdivFavoriteWSILTable%>" 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><%=favoritesPerspective.getMessage("FORM_LABEL_FAVORITE_WSIL")%></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="<%=divFavoriteWSILTable%>"> - <table width="95%" cellpadding=3 cellspacing=0 class="tableborder"> - <tr> - <th class="checkboxcells" width=10><input type="checkbox" onClick="favHandleCheckAllClick('<%=divFavoriteWSILTable%>',this)" title="<%=controller.getMessage("FORM_CONTROL_TITLE_SELECT_ALL_CHECK_BOX")%>"></th> - <th class="headercolor"><%=favoritesPerspective.getMessage("FORM_LABEL_URL")%></th> - </tr> - <% - FavoritesWSILFolderElement favWSILFolderElement = (FavoritesWSILFolderElement)selectedElement; - Enumeration e = favWSILFolderElement.getAllFavorites(); - Vector sortedVector = new Vector(); - while (e.hasMoreElements()) { - sortedVector.add(e.nextElement()); - } - QuickSort.sort(sortedVector); - e = sortedVector.elements(); - while (e.hasMoreElements()) { - FavoritesWSILElement favWSILElement = (FavoritesWSILElement)e.nextElement(); - %> - <tr> - <td class="checkboxcells" width=10><input type="checkbox" name="<%=FavoritesActionInputs.MASS_ACTION_NODE_ID%>" value="<%=selectedNode.getChildNode(favWSILElement).getNodeId()%>" 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(SelectFavoritesNodeAction.getActionLink(selectedNode.getChildNode(favWSILElement).getNodeId(), false)))%>" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>"><%=favWSILElement.getWsilUrl()%></a></td> - </tr> - <% - } - %> - </table> - </div> - <script language="javascript"> - twistInit('<%=divFavoriteWSILTable%>','<%=xdivFavoriteWSILTable%>'); - </script> - - - <table border=0 cellpadding=2 cellspacing=0> - <tr> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_IMPORT_TO_WSIL_PERSPECTIVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSILTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(AddWSILToWSILPerspectiveAction.getBaseActionLink()))%>')" class="button"> - </td> - <td height=40 valign="bottom" nowrap> - <input type="button" value="<%=favoritesPerspective.getMessage("FORM_LABEL_REMOVE")%>" onClick="setFormLocationAndSubmit('<%=divFavoriteWSILTable%>', this.form, '<%=response.encodeURL(controller.getPathWithContext(RemoveFavoritesAction.getBaseActionLink()))%>')" class="button"> - </td> - <td nowrap width="90%"> </td> - </tr> - </table> - - <% - } - %> - </form> -</div> -</body> -</html> |