X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Fscenegraph%2FICanvasSceneGraphProvider.java;h=d8edd66c4b464a92a4aa9ffc63a829fba5d16492;hb=a2abb6355b3b4d25ce92b313a457f0a8c4326c54;hp=8ca080a9d63f69b7f23feac76fa657e51b350d75;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/ICanvasSceneGraphProvider.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/ICanvasSceneGraphProvider.java index 8ca080a9d..d8edd66c4 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/ICanvasSceneGraphProvider.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/ICanvasSceneGraphProvider.java @@ -1,35 +1,35 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 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.g2d.scenegraph; - -import org.simantics.g2d.canvas.ICanvasContext; -import org.simantics.scenegraph.adapters.ISceneGraphProvider; -import org.simantics.scenegraph.g2d.G2DSceneGraph; - -/** - * @author Antti Villberg - */ -public interface ICanvasSceneGraphProvider extends ISceneGraphProvider { - - /** - * @param context the canvas context to use for loading the scene graph - * contained by the context (see - * {@link ICanvasContext#getSceneGraph()}) - * @param modelURI URI of loaded model - * @param RVI URI suffix of loaded scene graph structure source - * @return - */ - public G2DSceneGraph initializeSceneGraph(ICanvasContext context, String modelURI, String RVI); - - public ICanvasContext getCanvasContext(); - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 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.g2d.scenegraph; + +import org.simantics.g2d.canvas.ICanvasContext; +import org.simantics.scenegraph.adapters.ISceneGraphProvider; +import org.simantics.scenegraph.g2d.G2DSceneGraph; + +/** + * @author Antti Villberg + */ +public interface ICanvasSceneGraphProvider extends ISceneGraphProvider { + + /** + * @param context the canvas context to use for loading the scene graph + * contained by the context (see + * {@link ICanvasContext#getSceneGraph()}) + * @param modelURI URI of loaded model + * @param RVI URI suffix of loaded scene graph structure source + * @return + */ + public G2DSceneGraph initializeSceneGraph(ICanvasContext context, String modelURI, String RVI); + + public ICanvasContext getCanvasContext(); + +}