}
else
{
tabName = tabbedPane.getTitleAt(i);
}
final SelectTabAction action = new SelectTabAction(i, tabName);
final ActionSwingMenuitem actionSwingMenuitem = context.getView().createMenuItem(action);
actionSwingMenuitem.setReportDesignerContext(context);
reopenMenu.addChild(actionSwingMenuitem);
}
}