import org.simantics.db.Resource;
import org.simantics.db.exception.DatabaseException;
import org.simantics.db.request.Read;
+import org.simantics.g3d.scenegraph.GeometryProvider;
import org.simantics.objmap.graph.schema.IMappingSchema;
import org.simantics.objmap.graph.schema.MappingSchemas;
import org.simantics.objmap.graph.schema.SimpleSchema;
-import org.simantics.opencascade.SolidModelProvider;
import org.simantics.plant3d.ontology.Plant3D;
public class SchemaBuilder {
schema.addLinkType(MappingSchemas.fromAnnotations(g, P3DRootNode.class));
schema.addLinkType(MappingSchemas.fromAnnotations(g, PipeRun.class));
- schema.addLinkType(MappingSchemas.fromAdaptable(g, Plant3D.URIs.Builtin_GeometryProvider, SolidModelProvider.class));
+ schema.addLinkType(MappingSchemas.fromAdaptable(g, Plant3D.URIs.Builtin_GeometryProvider, GeometryProvider.class));
return schema;
} catch (IllegalAccessException e) {
throw new DatabaseException(e);