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