001/** 002 * OperationsMenu.java 003 */ 004package jmri.jmrit.operations; 005 006import javax.swing.JMenu; 007 008/** 009 * Create a "Operations" menu 010 * 011 * @author Bob Jacobsen Copyright 2003 012 * @author Daniel Boudreau Copyright 2008 013 */ 014public class OperationsMenu extends JMenu { 015 016 public OperationsMenu(String name) { 017 this(); 018 setText(name); 019 } 020 021 public OperationsMenu() { 022 super(); 023 024 setText(Bundle.getMessage("MenuOperations")); 025 026 add(new jmri.jmrit.operations.setup.OperationsSettingsAction()); 027 add(new jmri.jmrit.operations.locations.LocationsTableAction()); 028 add(new jmri.jmrit.operations.rollingstock.cars.CarsTableAction()); 029 add(new jmri.jmrit.operations.rollingstock.engines.EnginesTableAction()); 030 add(new jmri.jmrit.operations.routes.RoutesTableAction()); 031 add(new jmri.jmrit.operations.trains.TrainsTableAction()); 032 033 } 034 035// private final static Logger log = LoggerFactory.getLogger(OperationsMenu.class); 036}