code: public MapController getMapController() {
  		final GraphicsController controller = mapWidget.getController();
  		MapController mapController = new MapController(this, controller);
  		mapController.setActivationHandler(new ExportableFunction() {
  
  			public void execute() {
  				controller.onActivate();
  			}
  		});
  		mapController.setDeactivationHandler(new ExportableFunction() {
  
  			public void execute() {
  				controller.onDeactivate();
  			}
  		});
  		return mapController;
  	}
docs: Return the currently active controller on the map.
  
  @return The currently active controller.