private List<ToolbarButton> getSiteNodeTypeDefinitionDetailsButtons(String toolbarKey, InfoGluePrincipal principal, Locale locale, HttpServletRequest request, boolean disableCloseButton) throws Exception
{
List<ToolbarButton> buttons = new ArrayList<ToolbarButton>();
SiteNodeTypeDefinitionVO siteNodeTypeDefinitionVO = SiteNodeTypeDefinitionController.getController().getSiteNodeTypeDefinitionVOWithId(new Integer(request.getParameter("siteNodeTypeDefinitionId")));
buttons.add(new ToolbarButton("",
getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.header"),
getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.header"),
"DeleteSiteNodeTypeDefinition.action?siteNodeTypeDefinitionId=" + siteNodeTypeDefinitionVO.getId() + "&igSecurityCode=" + request.getSession().getAttribute("securityCode"),
"css/images/v3/deleteBackgroundWasteBasket.gif",
"left",
"delete",
false,
true,
getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.header"),
getLocalizedString(locale, "tool.managementtool.deleteSiteNodeTypeDefinition.text", new String[]{siteNodeTypeDefinitionVO.getName()}),
"workIframe"));
return buttons;
}