Revision 37488

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TOCImplementationExtension.java
96 96
		if (tf==null) {
97 97
			return;
98 98
		}
99
		
100
		try {
101
            TOCLocator.getInstance().getTOCManager().setDefaultTOCFactory(tf.getName());
102
        } catch (ServiceException e) {
103
            logger.error("Unable to set new default toc: " + tf.getName() + ". " + e.getMessage());
104
        }
99 105

  
100 106
		PluginServices ps = PluginServices.getPluginServices(this);
101 107
		XMLEntity xml = ps.getPersistentXML();

Also available in: Unified diff