public ActionMenu getButtonAction() {
AbstractAction action = new AbstractAction() {
public void actionPerformed(ActionEvent evt) {
if(getPluginManager().getFilterManager() != null) {
MainPrintDialog mainDialog = new MainPrintDialog(getParentFrame());
layoutWindow("mainDlg", mainDialog, new Dimension(300,150));
mainDialog.setVisible(true);
int result = mainDialog.getResult();
if (result == MainPrintDialog.PRINT_DAYPROGRAMS) {
SettingsDialog dlg = showPrintDialog(new PrintDayProgramsDialogContent(getParentFrame()), loadDayProgramSchemes());
storeDayProgramSchemes(dlg.getSchemes());
}