Revision 640 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/DefaultSelectionByThemeDataSource.java

View differences:

DefaultSelectionByThemeDataSource.java
16 16
	/**
17 17
	 * @see com.iver.cit.gvsig.gui.SelectionByThemeDataSource#getViews()
18 18
	 */
19
	public String[] getLayers() {
20
		String[] ret = new String[layers.getLayersCount()];
21
		for (int i = 0; i < ret.length; i++){
22
			ret[i] = layers.getLayer(i).getName(); 
23
		}
19
	public FLayers getLayers() {
24 20
		
25
		return ret;
21
		return layers;
26 22
	}
27 23

  
28 24
}

Also available in: Unified diff