]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/connection/RouteGraphChangeEvent.java
Fix RouteGraphNode styling
[simantics/platform.git] / bundles / org.simantics.scenegraph / src / org / simantics / scenegraph / g2d / nodes / connection / RouteGraphChangeEvent.java
1 /*******************************************************************************
2  * Copyright (c) 2011 Association for Decentralized Information Management in
3  * Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.scenegraph.g2d.nodes.connection;
13
14 import org.simantics.diagram.connection.RouteGraph;
15 import org.simantics.diagram.connection.delta.RouteGraphDelta;
16
17 /**
18  * @author Tuukka Lehtonen
19  * 
20  * @see RouteGraphNode
21  * @see IRouteGraphListener
22  */
23 public class RouteGraphChangeEvent {
24
25     public final RouteGraphNode node;
26     public final RouteGraph before;
27     public final RouteGraph after;
28     public final RouteGraphDelta delta;
29
30     public RouteGraphChangeEvent(RouteGraphNode node, RouteGraph before, RouteGraph after, RouteGraphDelta delta) {
31         this.node = node;
32         this.before = before;
33         this.after = after;
34         this.delta = delta;
35     }
36
37 }