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
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.g2d.scenegraph;
\r
14 import org.simantics.g2d.canvas.impl.CanvasContext;
\r
15 import org.simantics.scenegraph.g2d.G2DSceneGraph;
\r
16 import org.simantics.scenegraph.g2d.nodes.GridNode;
\r
19 * Scene graph related constants for the G2D framework.
\r
21 * @author Tuukka Lehtonen
\r
23 public final class SceneGraphConstants {
\r
26 * The event handler priority of {@link G2DSceneGraph} in a
\r
27 * {@link CanvasContext}.
\r
29 public static final int SCENEGRAPH_EVENT_PRIORITY = (1 << 20);
\r
31 public static final String NAVIGATION_NODE_NAME = "navigation";
\r
33 public static final String[] NAVIGATION_NODE_PATH = { NAVIGATION_NODE_NAME };
\r
35 public static final String DATA_NODE_NAME = "data";
\r
37 public static final String[] DATA_NODE_PATH = { DATA_NODE_NAME };
\r
39 public static final String GRID_NODE_NAME = GridNode.GRID_NODE_ID;
\r
41 public static final String SELECTIONS_NODE_NAME = "selections";
\r
43 public static final String[] SELECTIONS_NODE_PATH = { DATA_NODE_NAME, SELECTIONS_NODE_NAME };
\r