gitlab #192
Change-Id: If02e02fd4fc7f5ee65d3b80cb70fde3e0a5224cb
import org.simantics.Simantics;
import org.simantics.db.MetadataI;
import org.simantics.db.ReadGraph;
+import org.simantics.db.common.Indexing;
import org.simantics.db.common.changeset.GenericChangeListener;
import org.simantics.db.event.ChangeListener;
import org.simantics.db.exception.DatabaseException;
@Override
public boolean preEventRequest() {
+ if(Indexing.isDependenciesIndexingDisabled()) return false;
return preEventRequest.apply(Tuple0.INSTANCE);
}