]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/scl/Simantics/Profile.scl
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling / scl / Simantics / Profile.scl
index c7602f8633a0fe8324e1b2ce61008f6577a17362..4491c2a67dce9d81d8d88ae15e3cffac1e05ce67 100644 (file)
@@ -1,43 +1,43 @@
-include "Simantics/Entity" hiding (nameOf)\r
-include "Simantics/Model"\r
-include "Simantics/Misc"\r
-\r
-type ProfileEntry = Resource\r
-type RuntimeProfile = Resource\r
-\r
-importJava "org.simantics.modeling.ModelingUtils" where\r
-    """\r
-    Creates a Profile with given string, returns the created profile.\r
-    """\r
-    createProfile :: String -> [ProfileEntry] -> <WriteGraph> Resource\r
-    \r
-    """\r
-    CreateProfileEntry name style group.\r
-    """\r
-    createProfileEntry :: String -> Resource -> Resource -> <WriteGraph> ProfileEntry\r
-\r
-    """\r
-    CreateToplevelProfile model name entries.\r
-    """\r
-    createToplevelProfile :: Model -> String -> [ProfileEntry] -> <WriteGraph> Resource\r
-    \r
-    """\r
-    \r
-    """\r
-    activateProfileEntries :: Resource -> [ProfileEntry] -> <WriteGraph> ()\r
-    \r
-    """\r
-        toggleProfileGroup runtimeProfile profileGroupName value\r
-        \r
-    Toggles the given `profileGroupName` in given `runtimeProfile` on or off\r
-    depending on `value`\r
-    \r
-    Example:\r
-    \r
-        toggleProfileGroup runtimeProfile "Simulated 1" True\r
-    """\r
-    toggleProfileGroup :: RuntimeProfile -> String -> Boolean -> <WriteGraph> ()\r
-    \r
-importJava "org.simantics.diagram.profile.ElementTranslation" where\r
-    setProfileMonitorPosition :: Resource -> Double -> Double -> <WriteGraph> ()\r
+include "Simantics/Entity" hiding (nameOf)
+include "Simantics/Model"
+include "Simantics/Misc"
+
+type ProfileEntry = Resource
+type RuntimeProfile = Resource
+
+importJava "org.simantics.modeling.ModelingUtils" where
+    """
+    Creates a Profile with given string, returns the created profile.
+    """
+    createProfile :: String -> [ProfileEntry] -> <WriteGraph> Resource
+    
+    """
+    CreateProfileEntry name style group.
+    """
+    createProfileEntry :: String -> Resource -> Resource -> <WriteGraph> ProfileEntry
+
+    """
+    CreateToplevelProfile model name entries.
+    """
+    createToplevelProfile :: Model -> String -> [ProfileEntry] -> <WriteGraph> Resource
+    
+    """
+    
+    """
+    activateProfileEntries :: Resource -> [ProfileEntry] -> <WriteGraph> ()
+    
+    """
+        toggleProfileGroup runtimeProfile profileGroupName value
+        
+    Toggles the given `profileGroupName` in given `runtimeProfile` on or off
+    depending on `value`
+    
+    Example:
+    
+        toggleProfileGroup runtimeProfile "Simulated 1" True
+    """
+    toggleProfileGroup :: RuntimeProfile -> String -> Boolean -> <WriteGraph> ()
+    
+importJava "org.simantics.diagram.profile.ElementTranslation" where
+    setProfileMonitorPosition :: Resource -> Double -> Double -> <WriteGraph> ()
     resetProfileMonitorPosition :: Resource -> <WriteGraph> ()
\ No newline at end of file