use of org.parosproxy.paros.view.SiteMapPanel in project zaproxy by zaproxy.
the class ExtensionLoader method removeSiteMapListener.
private void removeSiteMapListener(ExtensionHook hook) {
if (!hasView()) {
return;
}
SiteMapPanel siteMapPanel = view.getSiteTreePanel();
List<SiteMapListener> listenerList = hook.getSiteMapListenerList();
for (SiteMapListener listener : listenerList) {
try {
if (listener != null) {
siteMapPanel.removeSiteMapListener(listener);
}
} catch (Exception e) {
logger.error(e.getMessage(), e);
}
}
}
Aggregations