Revision 44073 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/layers/operations/LayerCollection.java

View differences:

LayerCollection.java
24 24
package org.gvsig.fmap.mapcontext.layers.operations;
25 25

  
26 26
import java.awt.Graphics2D;
27
import java.util.List;
28
import java.util.function.Predicate;
29
import org.gvsig.fmap.dal.DataStore;
27 30

  
28 31
import org.gvsig.fmap.mapcontext.ViewPort;
29 32
import org.gvsig.fmap.mapcontext.exceptions.LoadLayerException;
......
170 173
	 * @see #setAllActives(boolean)
171 174
	 */
172 175
	public FLayer[] getActives();
176
        
177
        public List<FLayer> getLayers(Predicate<FLayer> filter);
173 178

  
174 179
	/**
175 180
	 * <p>Returns the ith-output directed son (from bottom up) of this collection.</p>
......
183 188
	public FLayer getLayer(int index);
184 189

  
185 190
	/**
186
	 * <p>Returns a first-level layer of this collection, using its name.</p>
191
	 * Returns a first-level layer of this collection, using its name.
187 192
	 *
188 193
	 * @param layerName name of a layer of this collection
189 194
	 *
......
192 197
	 * @see #getLayer(int)
193 198
	 */
194 199
	public FLayer getLayer(String layerName);
200
        
201
	/**
202
	 * Returns a first-level layer of this collection, using its name.
203
	 *
204
	 * @param store of a layer of this collection
205
	 *
206
	 * @return a layer
207
	 */
208
        public FLayer getLayer(DataStore store);
195 209

  
196 210
	/**
197 211
	 * <p>Returns the number of layers that are at the first level inside this one.</p>
......
222 236
	 * @see #getVisibles()
223 237
	 */
224 238
	public void setAllVisibles(boolean visible);
225

  
226

  
227
	public void beginDraw(Graphics2D g, ViewPort viewPort);
239

  
240

  
241
	public void beginDraw(Graphics2D g, ViewPort viewPort);

228 242
	public void endDraw(Graphics2D g, ViewPort viewPort);
229 243
	
230 244
	/**
......
256 270
	 *
257 271
	 */
258 272
	public void move(FLayer layer, LayerCollection group);
259

  
260 273

  
274

  
261 275
}

Also available in: Unified diff