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