]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.csg/src/org/simantics/g3d/csg/adapters/CSGSolidModelAdapter.java
Changed SimanticsUI use to Simantics
[simantics/3d.git] / org.simantics.g3d.csg / src / org / simantics / g3d / csg / adapters / CSGSolidModelAdapter.java
index e1000c1692bc6ef063ccb3ab5fa13ed872809a4f..972d797748980ba7055167ed7c192bde05f2c4db 100644 (file)
@@ -30,7 +30,7 @@ import org.simantics.objmap.graph.Mappings;
 import org.simantics.objmap.graph.schema.IMappingSchema;\r
 import org.simantics.objmap.structural.IStructuralObject;\r
 import org.simantics.opencascade.SolidModelProvider;\r
-import org.simantics.ui.SimanticsUI;\r
+import org.simantics.Simantics;\r
 \r
 public class CSGSolidModelAdapter implements SolidModelProvider, IAdaptable, IStructuralObject {\r
        \r
@@ -42,7 +42,7 @@ public class CSGSolidModelAdapter implements SolidModelProvider, IAdaptable, ISt
        \r
        @Override\r
        public Collection<TopoDS_Shape> getModel() throws Exception {\r
-               return SimanticsUI.getSession().syncRequest(new Read<Collection<TopoDS_Shape>>() {\r
+               return Simantics.getSession().syncRequest(new Read<Collection<TopoDS_Shape>>() {\r
                        @Override\r
                        public Collection<TopoDS_Shape> perform(ReadGraph graph)\r
                                        throws DatabaseException {\r