code: public JsHandlerRegistration addGeometryMergeAddedHandler(final GeometryMergeAddedHandler handler) {
  		org.geomajas.plugin.editing.client.merge.event.GeometryMergeAddedHandler h;
  		h = new org.geomajas.plugin.editing.client.merge.event.GeometryMergeAddedHandler() {
  
  			public void onGeometryMergingAdded(GeometryMergeAddedEvent event) {
  				org.geomajas.plugin.editing.jsapi.client.merge.event.GeometryMergeAddedEvent e;
  				e = new org.geomajas.plugin.editing.jsapi.client.merge.event.GeometryMergeAddedEvent(
  						event.getGeometry());
  				handler.onGeometryMergeAdded(e);
  			}
  		};
  		HandlerRegistration registration = delegate.addGeometryMergeAddedHandler(h);
  		return new JsHandlerRegistration(new HandlerRegistration[] { registration });
  	}
docs: Register a {@link GeometryMergeAddedHandler} to listen to events that signal a geometry has been added to the
  list for merging.
  
  @param handler
  The {@link GeometryMergeAddedHandler} to add as listener.
  @return The registration of the handler.