001package jmri.jmrit.operations.trains.tools;
002
003import java.awt.event.ActionEvent;
004
005import javax.swing.AbstractAction;
006
007/**
008 * Action to create the train lineups in a CSV file.
009 *
010 * @author Dan Boudreau Copyright (C) 2020
011 * 
012 */
013public class ExportTrainLineupsAction extends AbstractAction {
014
015    public ExportTrainLineupsAction() {
016        super(Bundle.getMessage("MenuItemExportLineup"));
017    }
018
019    @Override
020    public void actionPerformed(ActionEvent ae) {
021        new ExportTrainLineups().writeOperationsTrainsFile();
022    }
023}