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 * * Flag {@code onlySubstructureChanged} is false, if only the children of the component are removed. */ void visitComponentChange(ReadGraph graph, Resource component, boolean componentItselfModified) throws DatabaseException; }