]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/changeset/ChangeVisitor.java
Added resourceId and GUID to diagram DnD content
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / changeset / ChangeVisitor.java
1 package org.simantics.db.layer0.changeset;
2
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.exception.DatabaseException;
5 import org.simantics.db.layer0.genericrelation.DependencyChanges.Change;
6
7 public interface ChangeVisitor {
8     /**
9      * {@link MetadataUtils#visitDependencyChangesBetween}
10      * calls this method for every change found between given range.
11      * The flag {@code inverted} tells whether the change is actually
12      * undone instead of done.
13      */
14     void visit(ReadGraph graph, Change change, boolean inverted) throws DatabaseException;
15 }