X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graph.db%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fdb%2FIImportAdvisor.java;h=5af551fda7403f0619c4cdd31afcf7dd320921f5;hb=32a17a670cf4f9d459917495be5f4a504afac205;hp=90b3cd8ee6b20b0f2393f27ffdabe95465c199a6;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/IImportAdvisor.java b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/IImportAdvisor.java index 90b3cd8ee..5af551fda 100644 --- a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/IImportAdvisor.java +++ b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/IImportAdvisor.java @@ -1,24 +1,24 @@ -/******************************************************************************* - * 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.graph.db; - -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.WriteOnlyGraph; -import org.simantics.db.exception.DatabaseException; -import org.simantics.graph.representation.Root; - -public interface IImportAdvisor { - // If root refers to an existing resource (e.g. Model) the resource is returned - Resource analyzeRoot(ReadGraph graph, Root root) throws DatabaseException; - Resource createRoot(WriteOnlyGraph graph, Root root) throws DatabaseException; -} +/******************************************************************************* + * 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.graph.db; + +import org.simantics.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.WriteOnlyGraph; +import org.simantics.db.exception.DatabaseException; +import org.simantics.graph.representation.Root; + +public interface IImportAdvisor { + // If root refers to an existing resource (e.g. Model) the resource is returned + Resource analyzeRoot(ReadGraph graph, Root root) throws DatabaseException; + Resource createRoot(WriteOnlyGraph graph, Root root) throws DatabaseException; +}