001package jmri.jmrit.operations.trains.tools; 002 003import java.awt.event.ActionEvent; 004 005import javax.swing.AbstractAction; 006 007/** 008 * Export data for the Timetable app to a CSV file 009 * 010 * @author Dan Boudreau Copyright (C) 2018 011 * 012 */ 013public class ExportTimetableAction extends AbstractAction { 014 015 public ExportTimetableAction() { 016 super(Bundle.getMessage("MenuItemExportTimetable")); 017 } 018 019 @Override 020 public void actionPerformed(ActionEvent ae) { 021 ExportTimetable ex = new ExportTimetable(); 022 ex.writeOperationsTimetableFile(); 023 } 024}