]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.db/src/org/simantics/graph/db/IImportAdvisor2.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.graph.db / src / org / simantics / graph / db / IImportAdvisor2.java
index e7912ef6c4103c3338e4f3ee0cd914b75ac8de23..d9e217b713a9d099d6e21314d5e8e297dbcc867c 100644 (file)
@@ -1,42 +1,42 @@
-package org.simantics.graph.db;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.WriteOnlyGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.graph.representation.Root;\r
-\r
-public interface IImportAdvisor2 extends IImportAdvisor {\r
-\r
-       public static class RootInfo {\r
-               public Root root;\r
-               public String name;\r
-               public Resource resource;\r
-               public RootInfo(Root root, String name, Resource resource) {\r
-                       this.root = root;\r
-                       this.name = name;\r
-                       this.resource = resource;\r
-               }\r
-       }\r
-       \r
-       /*\r
-        * This switches target to another location\r
-        */\r
-       void redirect(Resource temp);\r
-       \r
-       Resource getTarget();\r
-       \r
-       @Deprecated\r
-       Collection<Resource> getRoots();\r
-       @Deprecated\r
-       Collection<RootInfo> getRootInfo();\r
-       \r
-    void beforeWrite(WriteOnlyGraph graph, TransferableGraphImporter process) throws DatabaseException;\r
-    void afterWrite(WriteOnlyGraph graph, TransferableGraphImporter process) throws DatabaseException;\r
-    boolean allowImmutableModifications();\r
-    Resource createChild(WriteOnlyGraph graph, TransferableGraphImporter process, Resource parent, String name) throws DatabaseException;\r
-    Resource createChild(WriteOnlyGraph graph, TransferableGraphImporter process, Resource parent, Resource child, String name) throws DatabaseException;\r
-       Resource createRoot(WriteOnlyGraph graph, Root root, Resource resource) throws DatabaseException;\r
-\r
-}\r
+package org.simantics.graph.db;
+
+import java.util.Collection;
+
+import org.simantics.db.Resource;
+import org.simantics.db.WriteOnlyGraph;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.graph.representation.Root;
+
+public interface IImportAdvisor2 extends IImportAdvisor {
+
+       public static class RootInfo {
+               public Root root;
+               public String name;
+               public Resource resource;
+               public RootInfo(Root root, String name, Resource resource) {
+                       this.root = root;
+                       this.name = name;
+                       this.resource = resource;
+               }
+       }
+       
+       /*
+        * This switches target to another location
+        */
+       void redirect(Resource temp);
+       
+       Resource getTarget();
+       
+       @Deprecated
+       Collection<Resource> getRoots();
+       @Deprecated
+       Collection<RootInfo> getRootInfo();
+       
+    void beforeWrite(WriteOnlyGraph graph, TransferableGraphImporter process) throws DatabaseException;
+    void afterWrite(WriteOnlyGraph graph, TransferableGraphImporter process) throws DatabaseException;
+    boolean allowImmutableModifications();
+    Resource createChild(WriteOnlyGraph graph, TransferableGraphImporter process, Resource parent, String name) throws DatabaseException;
+    Resource createChild(WriteOnlyGraph graph, TransferableGraphImporter process, Resource parent, Resource child, String name) throws DatabaseException;
+       Resource createRoot(WriteOnlyGraph graph, Root root, Resource resource) throws DatabaseException;
+
+}