]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileKeys.java
Sync git svn branch with SVN repository r33189.
[simantics/platform.git] / bundles / org.simantics.diagram / src / org / simantics / diagram / profile / ProfileKeys.java
1 /*******************************************************************************\r
2  * Copyright (c) 2011 Association for Decentralized Information Management in\r
3  * 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.profile;\r
13 \r
14 import org.simantics.g2d.canvas.ICanvasContext;\r
15 import org.simantics.g2d.diagram.IDiagram;\r
16 import org.simantics.scenegraph.profile.DataNodeMap;\r
17 import org.simantics.scenegraph.profile.EvaluationContext;\r
18 \r
19 /**\r
20  * Constants for accessing data within a scenegraph profile\r
21  * {@link EvaluationContext} through\r
22  * {@link EvaluationContext#getConstant(String)}.\r
23  * \r
24  * @author Antti Villberg\r
25  */\r
26 public class ProfileKeys {\r
27 \r
28     /**\r
29      * Stores the {@link IDiagram} related to the profile evaluation.\r
30      */\r
31     public static String DIAGRAM  = "Diagram";\r
32 \r
33     /**\r
34      * Stores the {@link ICanvasContext} related to the profile evaluation.\r
35      */\r
36     public static String CANVAS   = "Canvas";\r
37 \r
38     /**\r
39      * Stores the {@link DataNodeMap} related to the profile evaluation.\r
40      */\r
41     public static String NODE_MAP = "NodeMap";\r
42 \r
43 }\r