Revision 2992 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/descriptor/MapComposition.java

View differences:

MapComposition.java
93 93
    return null;
94 94
  }
95 95

  
96
  public String[] getLayerNames()
97
  {
98
	 String[] names;
99
	 names = (String[])layers.values().toArray();
100
	 
101
	 //TODO: Watch out!!!!! this will not work as long as the values
102
	 // are the layer objects and not the names.
103
	 // Iterate through the Collection and extract the names.?????
104
	 return names;
105
  }
96 106

  
97 107
  /**
98 108
   * checks if there is a layer in the mapComposition with this name

Also available in: Unified diff