code: public WmsLayerConfiguration createLayerConfig(WmsLayerInfo layerInfo,
  												   String baseUrl, WmsService.WmsVersion version) {
  		WmsLayerConfiguration layerConfig = new WmsLayerConfiguration();
  		layerConfig.setBaseUrl(baseUrl);
  		layerConfig.setLayers(layerInfo.getName());
  		layerConfig.setVersion(version);
  		return layerConfig;
  	}
docs: Create a WMS layer configuration object from a LayerInfo object acquired through a WMS GetCapabilities call.
  
  @param layerInfo The layer info object. Acquired from a WMS GetCapabilities.
  @param baseUrl   The WMS base URL. This is the same URL you fed the GetCapabilities call. See {@link
  WmsService#getCapabilities(String,
  org.geomajas.gwt2.plugin.wms.client.service.WmsService.WmsVersion,
  com.google.gwt.core.client.Callback)}.
  @param version   The WMS version.
  @return Returns the WMS layer configuration object.