org.zaproxy.zap.view.MessagePanelsPositionController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zap Show documentation
Show all versions of zap Show documentation
The Zed Attack Proxy (ZAP) is an easy to use integrated penetration testing tool for finding vulnerabilities in web applications. It is designed to be used by people with a wide range of security experience and as such is ideal for developers and functional testers who are new to penetration testing. ZAP provides automated scanners as well as a set of tools that allow you to find security vulnerabilities manually.
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2013 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.zaproxy.zap.view;
import org.parosproxy.paros.view.MainFrame;
import org.parosproxy.paros.view.TabbedPanel;
import org.parosproxy.paros.view.WorkbenchPanel;
import org.zaproxy.zap.extension.httppanel.HttpPanelRequest;
import org.zaproxy.zap.extension.httppanel.HttpPanelResponse;
/**
* @deprecated (2.5.0) No longer used/needed. {@link WorkbenchPanel} now manages the position of the
* message panels.
*/
@Deprecated
@SuppressWarnings("javadoc")
public class MessagePanelsPositionController {
private enum MessagePanelsPosition {
TABS_SIDE_BY_SIDE,
PANEL_ABOVE,
PANELS_SIDE_BY_SIDE
}
public MessagePanelsPositionController(
HttpPanelRequest requestPanel,
HttpPanelResponse responsePanel,
MainFrame mainFrame,
WorkbenchPanel workbenchPanel) {}
/**
* Restores the original parent of the panels and the panel.
*
* @return always {@code null}
*/
public TabbedPanel restoreOriginalParentTabbedPanel() {
return null;
}
public void restoreState() {
// No longer in use.
}
public void saveState(MessagePanelsPosition currentPosition) {
// No longer in use.
}
}