1 /*******************************************************************************
\r
2 * Copyright (c) 2012, 2013 Association for Decentralized Information Management in
\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.g3d.scenegraph.base;
\r
15 public interface NodeListener {
\r
18 * Event occurring when a node's property is changed
\r
23 public void propertyChanged(INode node, String id);
\r
26 * Event occurring when a new node is added to the scene-graph
\r
31 public <T extends INode> void nodeAdded(ParentNode<T> node, INode child, String rel);
\r
34 * Event occurring when a node is removed from the scene-graph
\r
35 * @param nodeThe node, which contained the removed node.
\r
36 * @param child The removed node.
\r
39 public <T extends INode> void nodeRemoved(ParentNode<T> node, INode child, String rel);
\r