X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Fscenegraph%2FSceneGraphConstants.java;h=2c082353e8074b4e4132e1ac2e742da28139ec3a;hb=refs%2Fchanges%2F64%2F1964%2F9;hp=e1504ca075e73e708807a9ef6d67cd3e4c6dc512;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/SceneGraphConstants.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/SceneGraphConstants.java index e1504ca07..2c082353e 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/SceneGraphConstants.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/scenegraph/SceneGraphConstants.java @@ -1,45 +1,49 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 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.g2d.scenegraph; - -import org.simantics.g2d.canvas.impl.CanvasContext; -import org.simantics.scenegraph.g2d.G2DSceneGraph; -import org.simantics.scenegraph.g2d.nodes.GridNode; - -/** - * Scene graph related constants for the G2D framework. - * - * @author Tuukka Lehtonen - */ -public final class SceneGraphConstants { - - /** - * The event handler priority of {@link G2DSceneGraph} in a - * {@link CanvasContext}. - */ - public static final int SCENEGRAPH_EVENT_PRIORITY = (1 << 20); - - public static final String NAVIGATION_NODE_NAME = "navigation"; - - public static final String[] NAVIGATION_NODE_PATH = { NAVIGATION_NODE_NAME }; - - public static final String DATA_NODE_NAME = "data"; - - public static final String[] DATA_NODE_PATH = { DATA_NODE_NAME }; - - public static final String GRID_NODE_NAME = GridNode.GRID_NODE_ID; - - public static final String SELECTIONS_NODE_NAME = "selections"; - - public static final String[] SELECTIONS_NODE_PATH = { DATA_NODE_NAME, SELECTIONS_NODE_NAME }; - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 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.g2d.scenegraph; + +import org.simantics.g2d.canvas.impl.CanvasContext; +import org.simantics.scenegraph.g2d.G2DSceneGraph; +import org.simantics.scenegraph.g2d.nodes.GridNode; + +/** + * Scene graph related constants for the G2D framework. + * + * @author Tuukka Lehtonen + */ +public final class SceneGraphConstants { + + /** + * The event handler priority of {@link G2DSceneGraph} in a + * {@link CanvasContext}. + */ + public static final int SCENEGRAPH_EVENT_PRIORITY = (1 << 20); + + public static final String NAVIGATION_NODE_NAME = "navigation"; + + public static final String[] NAVIGATION_NODE_PATH = { NAVIGATION_NODE_NAME }; + + public static final String DATA_NODE_NAME = "data"; + + public static final String[] DATA_NODE_PATH = { DATA_NODE_NAME }; + + public static final String GRID_NODE_NAME = GridNode.GRID_NODE_ID; + + public static final String SELECTIONS_NODE_NAME = "selections"; + + public static final String[] SELECTIONS_NODE_PATH = { DATA_NODE_NAME, SELECTIONS_NODE_NAME }; + + public static final String SPATIAL_ROOT_NODE_NAME = "spatialRoot"; + + public static final String SPATIAL_ROOT_NODE_ID = SPATIAL_ROOT_NODE_NAME; + +}