]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/SchemaBuilder.java
Plant3D customization
[simantics/3d.git] / org.simantics.plant3d / src / org / simantics / plant3d / scenegraph / SchemaBuilder.java
index 761e1707da40e865be635af5b22ee23ed0c13324..5b761a11a0ee0d3f7001ecd3dfe781bc0b1ff7cd 100644 (file)
@@ -5,10 +5,10 @@ import org.simantics.db.ReadGraph;
 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 {
@@ -33,7 +33,7 @@ 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.GeometryProvider, GeometryProvider.class));
                        return schema;
                } catch (IllegalAccessException e) {
                        throw new DatabaseException(e);