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