]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/IComponentTypeScriptEnvironmentFactory.java
Add utility class org.simantics.modeling.help.HelpContexts
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / IComponentTypeScriptEnvironmentFactory.java
index 262143d1b19b452a1bea916fedc56ddf2ba225ec..65f4f1bb4d3adc5500155b9ea76fd117b2757613 100644 (file)
@@ -1,49 +1,49 @@
-package org.simantics.modeling;\r
-\r
-import java.util.Set;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.scl.compiler.environment.LocalEnvironment;\r
-import org.simantics.scl.compiler.environment.specification.EnvironmentSpecification;\r
-\r
-public interface IComponentTypeScriptEnvironmentFactory {\r
-\r
-    /**\r
-     * Return the EnvironmentSpecification used to initialize the runtime environment for this script\r
-     * \r
-     * @param graph\r
-     * @param componentType\r
-     * @return the runtime enviroment\r
-     * @throws DatabaseException\r
-     */\r
-    public EnvironmentSpecification getRuntimeEnvironmentSpecification(ReadGraph graph, Resource componentType) throws DatabaseException;\r
-    \r
-    /**\r
-     * Return a local environment for this script if one is needed\r
-     * \r
-     * @param graph\r
-     * @param componentType\r
-     * @return the local environment or null\r
-     * @throws DatabaseException\r
-     */\r
-    public LocalEnvironment getLocalEnvironment(ReadGraph graph, Resource componentType) throws DatabaseException;\r
-    \r
-    /**\r
-     * Get the set of all modules the local environment returned by getLocalEnvironment reads from\r
-     * \r
-     * @param environment\r
-     * @return a set of module names or null\r
-     */\r
-    public Set<String> getModuleReads(LocalEnvironment environment);\r
-    \r
-    /**\r
-     * Get the set of all modules the local environment returned by getLocalEnvironment writes to\r
-     * \r
-     * @param environment\r
-     * @return a set of module names or null\r
-     */\r
-    public Set<String> getModuleWrites(LocalEnvironment environment);\r
-    \r
-}\r
+package org.simantics.modeling;
+
+import java.util.Set;
+
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.scl.compiler.environment.LocalEnvironment;
+import org.simantics.scl.compiler.environment.specification.EnvironmentSpecification;
+
+public interface IComponentTypeScriptEnvironmentFactory {
+
+    /**
+     * Return the EnvironmentSpecification used to initialize the runtime environment for this script
+     * 
+     * @param graph
+     * @param componentType
+     * @return the runtime enviroment
+     * @throws DatabaseException
+     */
+    public EnvironmentSpecification getRuntimeEnvironmentSpecification(ReadGraph graph, Resource componentType) throws DatabaseException;
+    
+    /**
+     * Return a local environment for this script if one is needed
+     * 
+     * @param graph
+     * @param componentType
+     * @return the local environment or null
+     * @throws DatabaseException
+     */
+    public LocalEnvironment getLocalEnvironment(ReadGraph graph, Resource componentType) throws DatabaseException;
+    
+    /**
+     * Get the set of all modules the local environment returned by getLocalEnvironment reads from
+     * 
+     * @param environment
+     * @return a set of module names or null
+     */
+    public Set<String> getModuleReads(LocalEnvironment environment);
+    
+    /**
+     * Get the set of all modules the local environment returned by getLocalEnvironment writes to
+     * 
+     * @param environment
+     * @return a set of module names or null
+     */
+    public Set<String> getModuleWrites(LocalEnvironment environment);
+    
+}