Revision 22971 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/MapContext.java

View differences:

MapContext.java
1438 1438
				c.removeLegendListener(eventBuffer);
1439 1439
			}
1440 1440

  
1441
			if (lyr instanceof SingleLayer) {
1442
				((SingleLayer) lyr).getDataStore().deleteObserver(
1443
						MapContext.this);
1444
			}
1445

  
1441 1446
//			if (lyr instanceof FLyrVect ) {
1442 1447
//				Selectable s = (Selectable) lyr;
1443 1448
//				s.addSelectionListener(eventBuffer);

Also available in: Unified diff