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