001package jmri.jmrit.operations.rollingstock.engines;
002
003import java.awt.event.ActionEvent;
004
005import javax.swing.AbstractAction;
006
007/**
008 * Swing action to create and register a EnginesTableFrame object.
009 *
010 * @author Bob Jacobsen Copyright (C) 2001
011 * @author Daniel Boudreau Copyright (C) 2008
012 */
013public class EnginesTableAction extends AbstractAction {
014
015    public EnginesTableAction() {
016        super(Bundle.getMessage("MenuEngines")); // NOI18N
017    }
018
019    @Override
020    public void actionPerformed(ActionEvent e) {
021        // create a engine table frame
022        new EnginesTableFrame();
023    }
024}
025
026