1 package org.simantics.db.layer0.adapter;
3 import org.simantics.db.AsyncReadGraph;
4 import org.simantics.db.RelationContext;
5 import org.simantics.db.Resource;
6 import org.simantics.db.adaption.Adapter;
7 import org.simantics.db.layer0.variable.GraphPropertyFactory;
8 import org.simantics.db.layer0.variable.StandardGraphPropertyFactory;
9 import org.simantics.db.procedure.AsyncProcedure;
11 public class StandardGraphPropertyFactoryAdapter implements Adapter<GraphPropertyFactory, RelationContext> {
14 public void adapt(AsyncReadGraph graph, Resource source, RelationContext s, final AsyncProcedure<GraphPropertyFactory> procedure) {
15 procedure.execute(graph, StandardGraphPropertyFactory.INSTANCE);