private List<ToolbarButton> getRepositoryDetailsButtons(String toolbarKey, InfoGluePrincipal principal, Locale locale, HttpServletRequest request, boolean disableCloseButton) throws Exception
{
List<ToolbarButton> buttons = new ArrayList<ToolbarButton>();
Integer repositoryId = new Integer(request.getParameter("repositoryId"));
RepositoryVO repositoryVO = RepositoryController.getController().getRepositoryVOWithId(repositoryId);
buttons.add(new ToolbarButton("",
getLocalizedString(locale, "tool.managementtool.deleteRepository.header"),
getLocalizedString(locale, "tool.managementtool.deleteRepository.header"),
"DeleteRepository!markForDelete.action?repositoryId=" + repositoryId + "&igSecurityCode=" + request.getSession().getAttribute("securityCode"),
"css/images/v3/createBackgroundPenPaper.gif",
"left",
"create",
false,
true,
getLocalizedString(locale, "tool.managementtool.deleteRepository.header"),
getLocalizedString(locale, "tool.managementtool.deleteRepository.text", new String[]{repositoryVO.getName()}),
"workIframe"));
buttons.add(new ToolbarButton("",
getLocalizedString(locale, "tool.managementtool.exportRepository.header"),
getLocalizedString(locale, "tool.managementtool.exportRepository.header"),