001package jmri.jmrit.operations.automation;
002
003import java.awt.event.ActionEvent;
004import javax.swing.AbstractAction;
005
006import jmri.InstanceManager;
007
008/**
009 * Action to resume all automations
010 *
011 * @author Daniel Boudreau Copyright (C) 2019
012 */
013public class AutomationResumeAction extends AbstractAction {
014
015    public AutomationResumeAction() {
016        super(Bundle.getMessage("MenuResumeAutomations"));
017    }
018
019    @Override
020    public void actionPerformed(ActionEvent e) {
021        InstanceManager.getDefault(AutomationManager.class).resumeAutomations();
022    }
023}