X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Ftypicals%2FITypicalSynchronizationRule.java;fp=bundles%2Forg.simantics.modeling%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Ftypicals%2FITypicalSynchronizationRule.java;h=a9417968a7afc10b7ee2edca4c36f4edf11dd1b5;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=d94096d3db95069cdf959e4002aa1297731f2fcd;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/ITypicalSynchronizationRule.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/ITypicalSynchronizationRule.java index d94096d3d..a9417968a 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/ITypicalSynchronizationRule.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/ITypicalSynchronizationRule.java @@ -1,26 +1,26 @@ -package org.simantics.modeling.typicals; - -import org.simantics.db.Resource; -import org.simantics.db.WriteGraph; -import org.simantics.db.exception.DatabaseException; - -/** - * Represents a single or composed synchronization operation from a typical - * template diagram element to an instance of the same element. - * - * @author Tuukka Lehtonen - */ -public interface ITypicalSynchronizationRule { - - /** - * @param graph - * @param template the template source of synchronization - * @param instance the target instance of synchronization - * @param info - * @return true if synchronization made changes to the database - * @throws DatabaseException - */ - boolean synchronize(WriteGraph graph, Resource template, Resource instance, TypicalInfo info) - throws DatabaseException; - -} +package org.simantics.modeling.typicals; + +import org.simantics.db.Resource; +import org.simantics.db.WriteGraph; +import org.simantics.db.exception.DatabaseException; + +/** + * Represents a single or composed synchronization operation from a typical + * template diagram element to an instance of the same element. + * + * @author Tuukka Lehtonen + */ +public interface ITypicalSynchronizationRule { + + /** + * @param graph + * @param template the template source of synchronization + * @param instance the target instance of synchronization + * @param info + * @return true if synchronization made changes to the database + * @throws DatabaseException + */ + boolean synchronize(WriteGraph graph, Resource template, Resource instance, TypicalInfo info) + throws DatabaseException; + +}