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