X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fprofile%2FProfileKeys.java;fp=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fprofile%2FProfileKeys.java;h=bd3e9ffc43d30fe18c9884991a0dae12f43af4bf;hp=c615f96b92b3c3deb3c048a20e29c8caa2d9933e;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileKeys.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileKeys.java index c615f96b9..bd3e9ffc4 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileKeys.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileKeys.java @@ -1,43 +1,43 @@ -/******************************************************************************* - * Copyright (c) 2011 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.profile; - -import org.simantics.g2d.canvas.ICanvasContext; -import org.simantics.g2d.diagram.IDiagram; -import org.simantics.scenegraph.profile.DataNodeMap; -import org.simantics.scenegraph.profile.EvaluationContext; - -/** - * Constants for accessing data within a scenegraph profile - * {@link EvaluationContext} through - * {@link EvaluationContext#getConstant(String)}. - * - * @author Antti Villberg - */ -public class ProfileKeys { - - /** - * Stores the {@link IDiagram} related to the profile evaluation. - */ - public static String DIAGRAM = "Diagram"; - - /** - * Stores the {@link ICanvasContext} related to the profile evaluation. - */ - public static String CANVAS = "Canvas"; - - /** - * Stores the {@link DataNodeMap} related to the profile evaluation. - */ - public static String NODE_MAP = "NodeMap"; - -} +/******************************************************************************* + * Copyright (c) 2011 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.profile; + +import org.simantics.g2d.canvas.ICanvasContext; +import org.simantics.g2d.diagram.IDiagram; +import org.simantics.scenegraph.profile.DataNodeMap; +import org.simantics.scenegraph.profile.EvaluationContext; + +/** + * Constants for accessing data within a scenegraph profile + * {@link EvaluationContext} through + * {@link EvaluationContext#getConstant(String)}. + * + * @author Antti Villberg + */ +public class ProfileKeys { + + /** + * Stores the {@link IDiagram} related to the profile evaluation. + */ + public static String DIAGRAM = "Diagram"; + + /** + * Stores the {@link ICanvasContext} related to the profile evaluation. + */ + public static String CANVAS = "Canvas"; + + /** + * Stores the {@link DataNodeMap} related to the profile evaluation. + */ + public static String NODE_MAP = "NodeMap"; + +}