001package jmri.jmrit.operations.rollingstock.cars.tools;
002
003import java.awt.event.ActionEvent;
004
005import javax.swing.AbstractAction;
006
007/**
008 * Starts the ImportCars thread
009 *
010 * @author Dan Boudreau Copyright (C) 2008
011 */
012public class ImportCarRosterAction extends AbstractAction {
013
014    public ImportCarRosterAction() {
015        super(Bundle.getMessage("MenuItemImport"));
016    }
017
018    @Override
019    public void actionPerformed(ActionEvent ae) {
020        Thread mb = new ImportCars();
021        mb.setName("Import Cars"); // NOI18N
022        mb.start();
023    }
024
025//    private final static Logger log = LoggerFactory.getLogger(ImportCarRosterAction.class);
026}