]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/connection/RouteGraphChangeEvent.java
Merge "Databoard and SCL enchancements."
[simantics/platform.git] / bundles / org.simantics.scenegraph / src / org / simantics / scenegraph / g2d / nodes / connection / RouteGraphChangeEvent.java
1 /*******************************************************************************\r
2  * Copyright (c) 2011 Association for Decentralized Information Management in\r
3  * 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
8  *\r
9  * Contributors:\r
10  *     VTT Technical Research Centre of Finland - initial API and implementation\r
11  *******************************************************************************/\r
12 package org.simantics.scenegraph.g2d.nodes.connection;\r
13 \r
14 import org.simantics.diagram.connection.RouteGraph;\r
15 import org.simantics.diagram.connection.delta.RouteGraphDelta;\r
16 \r
17 /**\r
18  * @author Tuukka Lehtonen\r
19  * \r
20  * @see RouteGraphNode\r
21  * @see IRouteGraphListener\r
22  */\r
23 public class RouteGraphChangeEvent {\r
24 \r
25     public final RouteGraphNode node;\r
26     public final RouteGraph before;\r
27     public final RouteGraph after;\r
28     public final RouteGraphDelta delta;\r
29 \r
30     public RouteGraphChangeEvent(RouteGraphNode node, RouteGraph before, RouteGraph after, RouteGraphDelta delta) {\r
31         this.node = node;\r
32         this.before = before;\r
33         this.after = after;\r
34         this.delta = delta;\r
35     }\r
36 \r
37 }\r