X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Fadapter%2FTemplate.java;h=b6b77f46ba1c649080f1d046ecbbc8d219033441;hb=60509f4629d5ca644dd9533dd2abc64349aad328;hp=b99fa82e5396148ac8a3e4ef8b7309dfa99379c8;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/Template.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/Template.java index b99fa82e5..b6b77f46b 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/Template.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/Template.java @@ -1,26 +1,26 @@ -/******************************************************************************* - * 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.layer0.adapter; - -import java.util.Map; - -import org.simantics.db.WriteGraph; -import org.simantics.db.exception.DatabaseException; - -/** - * Creates a subgraph and adds or reads the parameters - * in the given map. This interface can be adapted from - * Layer0.Template. - */ -public interface Template { - void apply(WriteGraph graph, Map parameters) 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.db.layer0.adapter; + +import java.util.Map; + +import org.simantics.db.WriteGraph; +import org.simantics.db.exception.DatabaseException; + +/** + * Creates a subgraph and adds or reads the parameters + * in the given map. This interface can be adapted from + * Layer0.Template. + */ +public interface Template { + void apply(WriteGraph graph, Map parameters) throws DatabaseException; +}