X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservice%2FInitSupport.java;h=917b5694acf3f28ba2a7254789f29786181e6875;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=90f4c5a0aae9aa59147fea4787d9c307b61d782d;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/service/InitSupport.java b/bundles/org.simantics.db/src/org/simantics/db/service/InitSupport.java index 90f4c5a0a..917b5694a 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/service/InitSupport.java +++ b/bundles/org.simantics.db/src/org/simantics/db/service/InitSupport.java @@ -1,34 +1,34 @@ -/******************************************************************************* - * 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.db.service; - -import java.util.HashSet; - -import org.simantics.db.exception.DatabaseException; -import org.simantics.db.exception.InternalException; -import org.simantics.db.exception.TimeoutException; - -public interface InitSupport { - public class Builtin { - public Builtin(String uri, int index) { - this.uri = uri; - this.index = index; - } - public String uri; // resource uri - public int index; // resource index - } - void addBuiltins(HashSet builtins) - throws InternalException; - - void close() - throws DatabaseException, TimeoutException; -} +/******************************************************************************* + * 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.db.service; + +import java.util.HashSet; + +import org.simantics.db.exception.DatabaseException; +import org.simantics.db.exception.InternalException; +import org.simantics.db.exception.TimeoutException; + +public interface InitSupport { + public class Builtin { + public Builtin(String uri, int index) { + this.uri = uri; + this.index = index; + } + public String uri; // resource uri + public int index; // resource index + } + void addBuiltins(HashSet builtins) + throws InternalException; + + void close() + throws DatabaseException, TimeoutException; +}