]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.services/src/org/simantics/db/services/StructuralGraphChangeEvent.java
Start of AdapterRegistry2 internal query caching.
[simantics/platform.git] / bundles / org.simantics.db.services / src / org / simantics / db / services / StructuralGraphChangeEvent.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2010 Association for Decentralized Information Management
3  * in 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.db.services;
13
14 import org.simantics.db.ReadGraph;
15
16 public class StructuralGraphChangeEvent {
17    
18     private ReadGraph               graph;
19     private StructuralChangeSet changeSet;
20
21     public StructuralGraphChangeEvent(ReadGraph graph, StructuralChangeSet changeSet) {
22         this.graph = graph;
23         this.changeSet = changeSet;
24     }
25
26     public ReadGraph getGraph() {
27         return graph;
28     }
29
30     public StructuralChangeSet getChangeSet() {
31         return changeSet;
32     }
33     
34 }