Revision 47799 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/events/listeners/EventBuffer.java

View differences:

EventBuffer.java
26 26
import java.util.ArrayList;
27 27
import java.util.Iterator;
28 28
import java.util.List;
29

  
30 29
import org.gvsig.fmap.mapcontext.events.AtomicEvent;
31 30
import org.gvsig.fmap.mapcontext.events.ColorEvent;
32 31
import org.gvsig.fmap.mapcontext.events.ExtentEvent;
......
67 66
 * @author gvSIG Team
68 67
 */
69 68
public class EventBuffer implements LegendListener, LayerCollectionListener,
70
        SelectionListener, ViewPortListener, LayerListener {
69
        SelectionListener, ViewPortListenerEx1, LayerListener {
71 70

  
72 71
    private static final Logger LOGGER = LoggerFactory.getLogger(EventBuffer.class);
73 72
    
......
323 322
    }
324 323

  
325 324
    @Override
325
    public void selectionColorChanged(ColorEvent e) {
326
        events.add(e);
327
        if (dispatching) {
328
            fireAtomicEventListener();
329
        }
330
    }
331

  
332
    @Override
326 333
    public void editionChanged(LayerEvent e) {
327 334
        events.add(e);
328 335
        if (dispatching) {

Also available in: Unified diff