X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fsynchronization%2FStatementEvaluation.java;h=3c47b768e6162de62946cc2c31e16f2e8291287d;hb=006602e856bbc3e222789cfe00a923b863e3e91b;hp=93218bd4de7c4d629d1b99d5041262a5d1df33a8;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/StatementEvaluation.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/StatementEvaluation.java index 93218bd4d..3c47b768e 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/StatementEvaluation.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/StatementEvaluation.java @@ -1,40 +1,40 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.diagram.synchronization; - -import org.simantics.diagram.synchronization.graph.CopyAdvisorUtil; - -/** - * @author Tuukka Lehtonen - * @see CopyAdvisor - * @see CopyAdvisorUtil#copy2(org.simantics.db.WriteGraph, org.simantics.db.Resource, org.simantics.utils.datastructures.BinaryFunction) - */ -public enum StatementEvaluation { - /** - * Use default copying logic for the statement, depending on the type of - * the relation. - */ - USE_DEFAULT, - /** - * Do not include the evaluated statement in the copy. - */ - SKIP, - /** - * Include this statement for the copy but do not follow it. - */ - INCLUDE, - /** - * Include this statement for the copy and follow it to continue copying - * recursively from the object. - */ - INCLUDE_AND_FOLLOW +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.diagram.synchronization; + +import org.simantics.diagram.synchronization.graph.CopyAdvisorUtil; + +/** + * @author Tuukka Lehtonen + * @see CopyAdvisor + * @see CopyAdvisorUtil#copy2(org.simantics.db.WriteGraph, org.simantics.db.Resource, org.simantics.utils.datastructures.BinaryFunction) + */ +public enum StatementEvaluation { + /** + * Use default copying logic for the statement, depending on the type of + * the relation. + */ + USE_DEFAULT, + /** + * Do not include the evaluated statement in the copy. + */ + SKIP, + /** + * Include this statement for the copy but do not follow it. + */ + INCLUDE, + /** + * Include this statement for the copy and follow it to continue copying + * recursively from the object. + */ + INCLUDE_AND_FOLLOW } \ No newline at end of file