1 package org.simantics.plant3d.geometry;
5 import org.eclipse.core.runtime.IAdaptable;
6 import org.simantics.db.Resource;
7 import org.simantics.g3d.scenegraph.ParametricMeshProvider;
9 public abstract class BuiltinMeshProvider implements ParametricMeshProvider, IAdaptable{
11 private Resource resource;
13 public BuiltinMeshProvider(Resource resource) {
14 this.resource = resource;
17 @SuppressWarnings("unchecked")
19 public <T> T getAdapter(Class<T> adapter) {
20 if (Resource.class == adapter)
26 public void updateCalculatedProperties(Map<String, Object> returnProps) {