1 /*******************************************************************************
\r
2 * Copyright (c) 2011 Association for Decentralized Information Management in
\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
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.diagram.profile;
\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
20 * Constants for accessing data within a scenegraph profile
\r
21 * {@link EvaluationContext} through
\r
22 * {@link EvaluationContext#getConstant(String)}.
\r
24 * @author Antti Villberg
\r
26 public class ProfileKeys {
\r
29 * Stores the {@link IDiagram} related to the profile evaluation.
\r
31 public static String DIAGRAM = "Diagram";
\r
34 * Stores the {@link ICanvasContext} related to the profile evaluation.
\r
36 public static String CANVAS = "Canvas";
\r
39 * Stores the {@link DataNodeMap} related to the profile evaluation.
\r
41 public static String NODE_MAP = "NodeMap";
\r