Revision 7832 trunk/extensions/extCAD/src/com/iver/cit/gvsig/CADExtension.java

View differences:

CADExtension.java
282 282
			if ((cta == null) || (view == null))
283 283
				return false;
284 284

  
285
			if (cta.getMapControl() == null){
286
				return false;
287
			}
288

  
285 289
			if (e.getID() != KeyEvent.KEY_RELEASED)
286 290
				return false;
287 291
			if (!(e.getComponent() instanceof JTextComponent)) {
......
377 381
		return view;
378 382
	}
379 383

  
384
	public static void clearView() {
385
		view = null;
386
	}
387

  
380 388
	/**
381 389
	 * @return Returns the editionManager.
382 390
	 */

Also available in: Unified diff