1 package org.simantics.plant3d.geometry;
5 import org.eclipse.core.runtime.IAdaptable;
6 import org.simantics.db.Resource;
7 import org.simantics.opencascade.ParametricSolidModelProvider;
9 public abstract class BuiltinGeometryProvider implements ParametricSolidModelProvider, IAdaptable{
11 private Resource resource;
13 public BuiltinGeometryProvider(Resource resource) {
14 this.resource = resource;
18 public Object getAdapter(Class adapter) {
19 if (Resource.class == adapter)
25 public void updateCalculatedProperties(Map<String, Object> returnProps) {