X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.plant3d%2Fsrc%2Forg%2Fsimantics%2Fplant3d%2Fproperty%2FP3DSelectionProcessor.java;h=b78fac4e1bb58e020fa4e6dfe159a3ea98655024;hb=0a8a3b6f2dda82f36c77907c4ff2d7e887835f2a;hp=e48f33201a5c3cb120c946c4dca5925273640fe8;hpb=4890725c9b7e31540dd84a11e16d73c643402a17;p=simantics%2F3d.git diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/property/P3DSelectionProcessor.java b/org.simantics.plant3d/src/org/simantics/plant3d/property/P3DSelectionProcessor.java index e48f3320..b78fac4e 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/property/P3DSelectionProcessor.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/property/P3DSelectionProcessor.java @@ -19,7 +19,7 @@ import org.simantics.db.management.ISessionContext; 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; @@ -43,7 +43,7 @@ public class P3DSelectionProcessor implements SelectionProcessor resourceCollection = AdaptationUtils.adaptToCollection(selection, Resource.class); Collection structuralResourceCollection = AdaptationUtils.adaptToCollection(selection, StructuralResource.class); Collection propCollection = AdaptationUtils.adaptToCollection(selection, vtkProp.class); - Collection nodeCollection = AdaptationUtils.adaptToCollection(selection, IG3DNode.class); + Collection nodeCollection = AdaptationUtils.adaptToCollection(selection, INode.class); boolean readOnly = false; if (resourceCollection.size() == 0 && structuralResourceCollection.size() > 0) { for (StructuralResource sr : structuralResourceCollection) { @@ -55,7 +55,7 @@ public class P3DSelectionProcessor implements SelectionProcessor contributors = PropertyTabUtil.getContributors(node); int i = 100; for (PropertyTabContributor c : contributors) {