-package org.simantics.structural2.utils;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-public interface StructuralChangeVisitor {\r
-\r
- /**\r
- * This method is called for components when\r
- * <ul>\r
- * <li>They are created</li>\r
- * <li>Their children are removed</li>\r
- * <li>Their properties are changed</li>\r
- * <li>Their connections are modified</li>\r
- * </ul>\r
- * Flag {@code onlySubstructureChanged} is false, if only the children of the component are removed.\r
- */\r
- void visitComponentChange(ReadGraph graph, Resource component, boolean componentItselfModified) throws DatabaseException;\r
-\r
-}\r
+package org.simantics.structural2.utils;
+
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
+
+public interface StructuralChangeVisitor {
+
+ /**
+ * This method is called for components when
+ * <ul>
+ * <li>They are created</li>
+ * <li>Their children are removed</li>
+ * <li>Their properties are changed</li>
+ * <li>Their connections are modified</li>
+ * </ul>
+ * Flag {@code onlySubstructureChanged} is false, if only the children of the component are removed.
+ */
+ void visitComponentChange(ReadGraph graph, Resource component, boolean componentItselfModified) throws DatabaseException;
+
+}