From: Bob J. <jac...@us...> - 2006-06-30 07:47:04
|
Update of /cvsroot/jmri/jmri/jmrix/loconet/locobufferusb/configurexml In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8356/pr2/configurexml Modified Files: ConnectionConfigXml.java Log Message: initial add Index: ConnectionConfigXml.java =================================================================== RCS file: /cvsroot/jmri/jmri/jmrix/loconet/locobufferusb/configurexml/ConnectionConfigXml.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ConnectionConfigXml.java 23 Nov 2005 05:29:38 -0000 1.1 --- ConnectionConfigXml.java 30 Jun 2006 07:47:01 -0000 1.2 *************** *** 1,14 **** ! package jmri.jmrix.loconet.locobufferusb.configurexml; import jmri.InstanceManager; import jmri.jmrix.configurexml.AbstractConnectionConfigXml; ! import jmri.jmrix.loconet.locobufferusb.ConnectionConfig; ! import jmri.jmrix.loconet.locobufferusb.LocoBufferUsbAdapter; /** * Handle XML persistance of layout connections by persisting ! * the LocoBufferUSBAdapter (and connections). Note this is * named as the XML version of a ConnectionConfig object, ! * but it's actually persisting the LocoBufferAdapterUSB. * <P> * This class is invoked from jmrix.JmrixConfigPaneXml on write, --- 1,14 ---- ! package jmri.jmrix.loconet.pr2.configurexml; import jmri.InstanceManager; import jmri.jmrix.configurexml.AbstractConnectionConfigXml; ! import jmri.jmrix.loconet.pr2.ConnectionConfig; ! import jmri.jmrix.loconet.pr2.PR2Adapter; /** * Handle XML persistance of layout connections by persisting ! * the PR2Adapter (and connections). Note this is * named as the XML version of a ConnectionConfig object, ! * but it's actually persisting the PR2Adapter. * <P> * This class is invoked from jmrix.JmrixConfigPaneXml on write, *************** *** 16,20 **** * here directly via the class attribute in the XML. * ! * @author Bob Jacobsen Copyright: Copyright (c) 2003, 2005 * @version $Revision$ */ --- 16,20 ---- * here directly via the class attribute in the XML. * ! * @author Bob Jacobsen Copyright: Copyright (c) 2003, 2005, 2006 * @version $Revision$ */ *************** *** 26,30 **** protected void getInstance() { ! adapter = LocoBufferUsbAdapter.instance(); } --- 26,30 ---- protected void getInstance() { ! adapter = PR2Adapter.instance(); } |