001package jmri.jmrit.operations.routes.tools; 002 003import java.awt.event.ActionEvent; 004 005import javax.swing.AbstractAction; 006 007 008/** 009 * Export Routes to a CSV file 010 * 011 * @author Dan Boudreau Copyright (C) 2019 012 * 013 */ 014public class ExportRoutesAction extends AbstractAction { 015 016 public ExportRoutesAction() { 017 super(Bundle.getMessage("MenuItemExportRoutes")); 018 } 019 020 @Override 021 public void actionPerformed(ActionEvent ae) { 022 ExportRoutes ex = new ExportRoutes(); 023 ex.writeOperationsRoutesFile(); 024 } 025}