X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d.csg.ontology%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fcsg%2Fontology%2FCSG.java;h=2efbbb01b4182cb2d47c13159995a4404c93b835;hb=ed38e7de95ae9c274a25269afa7d5b4369b20f1c;hp=9619f15c1e088477fa376b5d02c42dcf96ed5a08;hpb=87b3241ec277ba3d8e414b26186a032c9cdcaeed;p=simantics%2F3d.git diff --git a/org.simantics.g3d.csg.ontology/src/org/simantics/g3d/csg/ontology/CSG.java b/org.simantics.g3d.csg.ontology/src/org/simantics/g3d/csg/ontology/CSG.java index 9619f15c..2efbbb01 100644 --- a/org.simantics.g3d.csg.ontology/src/org/simantics/g3d/csg/ontology/CSG.java +++ b/org.simantics.g3d.csg.ontology/src/org/simantics/g3d/csg/ontology/CSG.java @@ -1,5 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2012, 2013 Association for Decentralized Information Management in + * Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ package org.simantics.g3d.csg.ontology; +import org.simantics.db.RequestProcessor; import org.simantics.db.Resource; import org.simantics.db.ReadGraph; import org.simantics.db.request.Read; @@ -219,7 +231,7 @@ public class CSG { return ret; } - public static CSG getInstance(Session session) throws DatabaseException { + public static CSG getInstance(RequestProcessor session) throws DatabaseException { CSG ret = session.peekService(CSG.class); if(ret == null) { ret = session.syncRequest(new Read() {