001package jmri.jmrit.operations.setup; 002 003import java.awt.event.ActionEvent; 004 005import javax.swing.AbstractAction; 006 007/** 008 * Swing action to show a dialog to allow the user to delete Automatic backups. 009 * 010 * For now, at least, this is needed as it is used by the menu system on the 011 * OperationsSetup frame. 012 * 013 * 014 * @author Gregory Madsen Copyright (C) 2012 015 */ 016public class ManageBackupsAction extends AbstractAction { 017 018// private final static Logger log = LoggerFactory.getLogger(ManageBackupsAction.class); 019 020 public ManageBackupsAction() { 021 super(Bundle.getMessage("ManageAutoBackups")); 022 } 023 024 @Override 025 public void actionPerformed(ActionEvent e) { 026 ManageBackupsDialog dlg = new ManageBackupsDialog(); 027 dlg.setLocationRelativeTo(null); 028 dlg.setVisible(true); 029 } 030}