001package jmri.jmrix.swing;
002
003import javax.swing.JMenu;
004
005/**
006 * Provide access to Swing components for a jmrix subsystem.
007 * <p>
008 * Objects of specific subtypes are registered in the instance manager to
009 * activate their particular system.
010 *
011 * @author Bob Jacobsen Copyright (C) 2010
012 * @since 2.9.4
013 */
014abstract public class ComponentFactory {
015
016    /**
017     * Provide a menu with all items attached to this system connection.
018     * @return menu with all items attached to this system connection.
019     */
020    abstract public JMenu getMenu();
021
022}