001package jmri.jmrix.loconet.uhlenbrock; 002 003import javax.annotation.Nonnull; 004import jmri.jmrix.ConnectionTypeList; 005import org.openide.util.lookup.ServiceProvider; 006 007/** 008 * Provide a list of valid Uhlenbrock Connection Types. 009 * 010 * @author Bob Jacobsen Copyright (C) 2010, 2014 011 * @author Kevin Dickerson Copyright (C) 2010 012 * 013 */ 014@ServiceProvider(service = ConnectionTypeList.class) 015public class UhlenbrockConnectionTypeList implements jmri.jmrix.ConnectionTypeList { 016 017 public static final String UHLEN = "Uhlenbrock"; // NOI18N 018 019 @Override 020 @Nonnull 021 public String[] getAvailableProtocolClasses() { 022 // replace existing LocoNet protocol list with just our three 023 String[] tempList = new String[]{ 024 "jmri.jmrix.loconet.uhlenbrock.ConnectionConfig", // NOI18N 025 "jmri.jmrix.loconet.Intellibox.ConnectionConfig", // NOI18N 026 "jmri.jmrix.loconet.uhlenbrock.usb_63120.ConnectionConfig"}; // NOI18N 027 return tempList; 028 } 029 030 @Override 031 @Nonnull 032 public String[] getManufacturers() { 033 return new String[]{UHLEN}; 034 } 035 036}