1 /*******************************************************************************
2 * Copyright (c) 2011 Association for Decentralized Information Management in
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.diagram.profile;
14 import org.simantics.g2d.canvas.ICanvasContext;
15 import org.simantics.g2d.diagram.IDiagram;
16 import org.simantics.scenegraph.profile.DataNodeMap;
17 import org.simantics.scenegraph.profile.EvaluationContext;
20 * Constants for accessing data within a scenegraph profile
21 * {@link EvaluationContext} through
22 * {@link EvaluationContext#getConstant(String)}.
24 * @author Antti Villberg
26 public class ProfileKeys {
29 * Stores the {@link IDiagram} related to the profile evaluation.
31 public static String DIAGRAM = "Diagram";
34 * Stores the {@link ICanvasContext} related to the profile evaluation.
36 public static String CANVAS = "Canvas";
39 * Stores the {@link DataNodeMap} related to the profile evaluation.
41 public static String NODE_MAP = "NodeMap";