X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fflag%2FIFlagTypeReader.java;h=b24ea279f6a2f8e5008a3e53b3381964b725b505;hp=740fd7a7b4621d92ba3a7e9ec0d535a4a90320ad;hb=HEAD;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/IFlagTypeReader.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/IFlagTypeReader.java index 740fd7a7b..b24ea279f 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/IFlagTypeReader.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/flag/IFlagTypeReader.java @@ -1,33 +1,33 @@ -/******************************************************************************* - * 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.diagram.flag; - -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.exception.DatabaseException; -import org.simantics.structural2.modelingRules.IModelingRules; - -/** - * @author Tuukka Lehtonen - */ -public interface IFlagTypeReader { - - /** - * @param graph - * @param flag - * @param modelingRules - * @return IFlagType for specified flag - * @throws DatabaseException - */ - IFlagType read(ReadGraph graph, Resource flag, IModelingRules modelingRules) 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.diagram.flag; + +import org.simantics.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.exception.DatabaseException; +import org.simantics.structural2.modelingRules.IModelingRules; + +/** + * @author Tuukka Lehtonen + */ +public interface IFlagTypeReader { + + /** + * @param graph + * @param flag + * @param modelingRules + * @return IFlagType for specified flag + * @throws DatabaseException + */ + IFlagType read(ReadGraph graph, Resource flag, IModelingRules modelingRules) throws DatabaseException; + } \ No newline at end of file