/******************************************************************************* * Copyright (c) 2012, 2013 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.g3d.scenegraph.base; public interface NodeListener { /** * Event occurring when a node's property is changed * @param node * @param child * @param rel */ public void propertyChanged(INode node, String id); /** * Event occurring when a new node is added to the scene-graph * @param node * @param child * @param rel */ public void nodeAdded(ParentNode node, INode child, String rel); /** * Event occurring when a node is removed from the scene-graph * @param nodeThe node, which contained the removed node. * @param child The removed node. * @param rel */ public void nodeRemoved(ParentNode node, INode child, String rel); }