]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.csg.ontology/src/org/simantics/g3d/csg/ontology/CSG.java
Recomplied G3D ontologies and updated AnntotatedPropertyTabContrubutor
[simantics/3d.git] / org.simantics.g3d.csg.ontology / src / org / simantics / g3d / csg / ontology / CSG.java
index 9619f15c1e088477fa376b5d02c42dcf96ed5a08..2efbbb01b4182cb2d47c13159995a4404c93b835 100644 (file)
@@ -1,5 +1,17 @@
+/*******************************************************************************\r
+ * Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
+ * Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ *     VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
 package org.simantics.g3d.csg.ontology;\r
 \r
+import org.simantics.db.RequestProcessor;\r
 import org.simantics.db.Resource;\r
 import org.simantics.db.ReadGraph;\r
 import org.simantics.db.request.Read;\r
@@ -219,7 +231,7 @@ public class CSG {
         return ret;\r
     }\r
     \r
-    public static CSG getInstance(Session session) throws DatabaseException {\r
+    public static CSG getInstance(RequestProcessor session) throws DatabaseException {\r
         CSG ret = session.peekService(CSG.class);\r
         if(ret == null) {\r
             ret = session.syncRequest(new Read<CSG>() {\r