]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram/src/org/simantics/diagram/flag/IFlagTypeReader.java
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / bundles / org.simantics.diagram / src / org / simantics / diagram / flag / IFlagTypeReader.java
index 740fd7a7b4621d92ba3a7e9ec0d535a4a90320ad..b24ea279f6a2f8e5008a3e53b3381964b725b505 100644 (file)
@@ -1,33 +1,33 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.diagram.flag;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.structural2.modelingRules.IModelingRules;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public interface IFlagTypeReader {\r
-\r
-    /**\r
-     * @param graph\r
-     * @param flag\r
-     * @param modelingRules\r
-     * @return IFlagType for specified flag\r
-     * @throws DatabaseException\r
-     */\r
-    IFlagType read(ReadGraph graph, Resource flag, IModelingRules modelingRules) throws DatabaseException;\r
-\r
+/*******************************************************************************
+ * 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