]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural2/src/org/simantics/structural2/variables/ResourceWithContext.java
IConnectionPoint and canBeConnected-checking util to SCL
[simantics/platform.git] / bundles / org.simantics.structural2 / src / org / simantics / structural2 / variables / ResourceWithContext.java
1 package org.simantics.structural2.variables;
2
3 import org.simantics.db.Resource;
4 import org.simantics.db.layer0.variable.Variable;
5
6 public class ResourceWithContext {
7     Resource resource;
8     Variable context;
9     
10     public ResourceWithContext(Resource resource, Variable context) {
11         this.resource = resource;
12         this.context = context;
13     }
14     
15     public Resource getResource() {
16         return resource;
17     }
18     
19     public Variable getContext() {
20         return context;
21     }
22 }