001package jmri.jmrix.pricom.pockettester; 002 003import javax.swing.JMenu; 004 005/** 006 * Create a menu or menu item containing the PRICOM Pocket Tester tools 007 * 008 * @author Bob Jacobsen Copyright 2005 009 */ 010public class PocketTesterMenu extends JMenu { 011 012 public PocketTesterMenu(String name) { 013 this(); 014 setText(name); 015 } 016 017 public PocketTesterMenu() { 018 019 super(); 020 021 setText(Bundle.getMessage("MenuPocketTester")); 022 023 add(new jmri.jmrix.pricom.pockettester.DataSourceAction()); 024 025 // rest need to be added dynamically after connection is made 026 // add(new jmri.jmrix.pricom.pockettester.MonitorAction()); 027 // add(new jmri.jmrix.pricom.pockettester.PacketTableAction()); 028 // add(new jmri.jmrix.pricom.pockettester.StatusAction()); 029 } 030 031}