public JsHandlerRegistration addGeometryIndexHighlightBeginHandler(final GeometryIndexHighlightBeginHandler h) {
		org.geomajas.plugin.editing.client.event.state.GeometryIndexHighlightBeginHandler h2;
		h2 = new org.geomajas.plugin.editing.client.event.state.GeometryIndexHighlightBeginHandler() {

			public void onGeometryIndexHighlightBegin(GeometryIndexHighlightBeginEvent event) {
				org.geomajas.plugin.editing.jsapi.client.event.state.GeometryIndexHighlightBeginEvent e;
				List<GeometryIndex> indices = event.getIndices();
				e = new org.geomajas.plugin.editing.jsapi.client.event.state.GeometryIndexHighlightBeginEvent(
						event.getGeometry(), indices.toArray(new GeometryIndex[indices.size()]));
				h.onGeometryIndexHighlightBegin(e);
			}
		};
		return new JsHandlerRegistration(
				new HandlerRegistration[] { delegate.addGeometryIndexHighlightBeginHandler(h2) });
	}
public JsHandlerRegistration addGeometryIndexHighlightBeginHandler ( final GeometryIndexHighlightBeginHandler h ) { org . geomajas . plugin . editing . client . event . state . GeometryIndexHighlightBeginHandler h2 ; h2 = new org . geomajas . plugin . editing . client . event . state . GeometryIndexHighlightBeginHandler ( ) { public void onGeometryIndexHighlightBegin ( GeometryIndexHighlightBeginEvent event ) { org . geomajas . plugin . editing . jsapi . client . event . state . GeometryIndexHighlightBeginEvent e ; List < GeometryIndex > indices = event . getIndices ( ) ; e = new org . geomajas . plugin . editing . jsapi . client . event . state . GeometryIndexHighlightBeginEvent ( event . getGeometry ( ) , indices . toArray ( new GeometryIndex [ indices . size ( ) ] ) ) ; h . onGeometryIndexHighlightBegin ( e ) ; } } ; return new JsHandlerRegistration ( new HandlerRegistration [ ] { delegate . addGeometryIndexHighlightBeginHandler ( h2 ) } ) ; }
Register a {@link GeometryIndexHighlightBeginHandler} to listen to highlighting begin events of sub-geometries,
vertices and edges.

@param h
The {@link GeometryIndexHighlightBeginHandler} to add as listener.
@return The registration of the handler.