001package jmri.jmrix; 002 003import org.openide.util.lookup.ServiceProvider; 004 005/** 006 * Return a list of valid Connection Types. 007 * @see jmri.jmrix.direct.DirectConnectionTypeList 008 * 009 * @author Bob Jacobsen Copyright (C) 2010 010 * @author Kevin Dickerson Copyright (C) 2010 011 */ 012@ServiceProvider(service = ConnectionTypeList.class) 013public class OtherConnectionTypeList implements jmri.jmrix.ConnectionTypeList { 014 015 public static final String OTHER = "Others"; // NOI18N 016 017 @Override 018 public String[] getAvailableProtocolClasses() { 019 return new String[]{ 020 "jmri.jmrix.direct.serial.ConnectionConfig", 021 "jmri.jmrix.direct.simulator.ConnectionConfig" 022 }; 023 } 024 025 @Override 026 public String[] getManufacturers() { 027 return new String[]{OTHER}; 028 } 029 030}