]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/StatementEvaluation.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.diagram / src / org / simantics / diagram / synchronization / StatementEvaluation.java
1 /*******************************************************************************\r
2  * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
3  * in Industry THTH ry.\r
4  * All rights reserved. This program and the accompanying materials\r
5  * are made available under the terms of the Eclipse Public License v1.0\r
6  * which accompanies this distribution, and is available at\r
7  * http://www.eclipse.org/legal/epl-v10.html\r
8  *\r
9  * Contributors:\r
10  *     VTT Technical Research Centre of Finland - initial API and implementation\r
11  *******************************************************************************/\r
12 package org.simantics.diagram.synchronization;\r
13 \r
14 import org.simantics.diagram.synchronization.graph.CopyAdvisorUtil;\r
15 \r
16 /**\r
17  * @author Tuukka Lehtonen\r
18  * @see CopyAdvisor\r
19  * @see CopyAdvisorUtil#copy2(org.simantics.db.WriteGraph, org.simantics.db.Resource, org.simantics.utils.datastructures.BinaryFunction)\r
20  */\r
21 public enum StatementEvaluation {\r
22     /**\r
23      * Use default copying logic for the statement, depending on the type of\r
24      * the relation.\r
25      */\r
26     USE_DEFAULT,\r
27     /**\r
28      * Do not include the evaluated statement in the copy.\r
29      */\r
30     SKIP,\r
31     /**\r
32      * Include this statement for the copy but do not follow it.\r
33      */\r
34     INCLUDE,\r
35     /**\r
36      * Include this statement for the copy and follow it to continue copying\r
37      * recursively from the object.\r
38      */\r
39     INCLUDE_AND_FOLLOW\r
40 }