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=4970d0e961c18e01389d7f874f8fde631e85ff1b;hpb=d17f8bbf4ab660b5efa42ff9d54cda7bbed02648;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 4970d0e9..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) { @@ -70,7 +70,7 @@ public class P3DSelectionProcessor implements SelectionProcessor 0) { if (resourceCollection.size() > 1) result.add(new ComparableTabContributor(new MultiSelectionTabContibutor(),0, resourceCollection, "Graph")); @@ -83,9 +83,18 @@ public class P3DSelectionProcessor implements SelectionProcessor updateCallback) {