001package jmri.jmrit.operations.locations.tools;
002
003import javax.swing.*;
004import java.awt.event.ActionEvent;
005
006/**
007 * Starts the Import Locations Thread
008 *
009 * @author J. Scott Walton Copyright (C) 2022
010 */
011public class ImportLocationsRosterAction extends AbstractAction {
012
013    public ImportLocationsRosterAction() {
014        super( Bundle.getMessage("TitleImportLocations"));
015    }
016
017    @Override
018    public void actionPerformed(ActionEvent e) {
019        Thread mb = new ImportLocations();
020        mb.setName("Import Locations"); // NOI18N
021        mb.start();
022    }
023
024}