001package jmri.jmrit.operations.locations.schedules.tools; 002 003import java.awt.event.ActionEvent; 004 005import javax.swing.AbstractAction; 006 007/** 008 * Starts the export schedules action 009 * 010 * @author Dan Boudreau Copyright (C) 2018 011 */ 012public class ExportSchedulesAction extends AbstractAction { 013 014 public ExportSchedulesAction() { 015 super(Bundle.getMessage("MenuItemExportSchedules")); 016 } 017 018 @Override 019 public void actionPerformed(ActionEvent ae) { 020 new ExportSchedules().writeOperationsScheduleFile(); 021 } 022}