private List<ToolbarButton> getInterceptorButtons(String toolbarKey, InfoGluePrincipal principal, Locale locale, HttpServletRequest request, boolean disableCloseButton) throws Exception
{
List<ToolbarButton> buttons = new ArrayList<ToolbarButton>();
InterceptorVO interceptorVO = InterceptorController.getController().getInterceptorVOWithId(new Integer(request.getParameter("interceptorId")));
buttons.add(new ToolbarButton("",
getLocalizedString(locale, "tool.managementtool.deleteInterceptor.header"),
getLocalizedString(locale, "tool.managementtool.deleteInterceptor.header"),
"DeleteInterceptor.action?interceptorId=" + interceptorVO.getId() + "&igSecurityCode=" + request.getSession().getAttribute("securityCode"),
"css/images/v3/deleteBackgroundWasteBasket.gif",
"left",
"delete",
false,
true,
getLocalizedString(locale, "tool.managementtool.deleteInterceptor.header"),
getLocalizedString(locale, "tool.managementtool.deleteInterceptor.text", new String[]{interceptorVO.getName()}),
"workIframe"));
return buttons;
}