code: public JsHandlerRegistration addGeometryIndexHighlightEndHandler(final GeometryIndexHighlightEndHandler handler) {
  		org.geomajas.plugin.editing.client.event.state.GeometryIndexHighlightEndHandler h;
  		h = new org.geomajas.plugin.editing.client.event.state.GeometryIndexHighlightEndHandler() {
  
  			public void onGeometryIndexHighlightEnd(GeometryIndexHighlightEndEvent event) {
  				org.geomajas.plugin.editing.jsapi.client.event.state.GeometryIndexHighlightEndEvent e;
  				List<GeometryIndex> indices = event.getIndices();
  				e = new org.geomajas.plugin.editing.jsapi.client.event.state.GeometryIndexHighlightEndEvent(
  						event.getGeometry(), indices.toArray(new GeometryIndex[indices.size()]));
  				handler.onGeometryIndexHighlightEnd(e);
  			}
  		};
  		return new JsHandlerRegistration(new HandlerRegistration[] { delegate.addGeometryIndexHighlightEndHandler(h) });
  	}
docs: Register a {@link GeometryIndexHighlightEndHandler} to listen to highlighting end events of sub-geometries,
  vertices and edges.
  
  @param handler
  The {@link GeometryIndexHighlightEndHandler} to add as listener.
  @return The registration of the handler.