]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.ontology/src/org/simantics/g3d/ontology/G3D.java
Recomplied G3D ontologies and updated AnntotatedPropertyTabContrubutor
[simantics/3d.git] / org.simantics.g3d.ontology / src / org / simantics / g3d / ontology / G3D.java
index 08c6a5daf06e1a8b131ae624857b81e24a04794f..ee58a301ce154945c8cae01c5c674c9e593b1474 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.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
@@ -123,7 +135,7 @@ public class G3D {
         return ret;\r
     }\r
     \r
-    public static G3D getInstance(Session session) throws DatabaseException {\r
+    public static G3D getInstance(RequestProcessor session) throws DatabaseException {\r
         G3D ret = session.peekService(G3D.class);\r
         if(ret == null) {\r
             ret = session.syncRequest(new Read<G3D>() {\r