import org.simantics.g3d.property.annotations.PropertyTabBlacklist;
import org.simantics.g3d.property.annotations.SetComboPropertyValue;
import org.simantics.g3d.property.annotations.SetPropertyValue;
-import org.simantics.g3d.scenegraph.IG3DNode;
import org.simantics.g3d.scenegraph.NodeMap;
import org.simantics.g3d.scenegraph.NodeMapProvider;
import org.simantics.g3d.scenegraph.base.INode;
if (nodeMap != null)
break;
}
- n = (IG3DNode)n.getParent();
+ n = (INode)n.getParent();
}
boolean readOnly = (node instanceof IStructuralNode && ((IStructuralNode)node).isPartOfInstantiatedModel() && !((IStructuralNode)node).isInstantiatedModelRoot());
import org.simantics.db.request.Read;
import org.simantics.g3d.property.PropertyTabContributor;
import org.simantics.g3d.property.PropertyTabUtil;
-import org.simantics.g3d.scenegraph.IG3DNode;
+import org.simantics.g3d.scenegraph.base.INode;
import org.simantics.g3d.tools.AdaptationUtils;
import org.simantics.g3d.vtk.property.VTKPropertyTabContributor;
import org.simantics.objmap.structural.StructuralResource;
Collection<Resource> resourceCollection = AdaptationUtils.adaptToCollection(selection, Resource.class);
Collection<StructuralResource> structuralResourceCollection = AdaptationUtils.adaptToCollection(selection, StructuralResource.class);
Collection<vtkProp> propCollection = AdaptationUtils.adaptToCollection(selection, vtkProp.class);
- Collection<IG3DNode> nodeCollection = AdaptationUtils.adaptToCollection(selection, IG3DNode.class);
+ Collection<INode> nodeCollection = AdaptationUtils.adaptToCollection(selection, INode.class);
boolean readOnly = false;
if (resourceCollection.size() == 0 && structuralResourceCollection.size() > 0) {
for (StructuralResource sr : structuralResourceCollection) {
if (nodeCollection.size() == 1) {
- IG3DNode node = nodeCollection.iterator().next();
+ INode node = nodeCollection.iterator().next();
List<PropertyTabContributor> contributors = PropertyTabUtil.getContributors(node);
int i = 100;
for (PropertyTabContributor c : contributors) {