]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural2/src/org/simantics/structural2/variables/VariableConnectionPointDescriptor.java
Replaceable Defined Component Types
[simantics/platform.git] / bundles / org.simantics.structural2 / src / org / simantics / structural2 / variables / VariableConnectionPointDescriptor.java
1 package org.simantics.structural2.variables;
2
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.Resource;
5 import org.simantics.db.exception.DatabaseException;
6 import org.simantics.db.layer0.variable.Variable;
7
8 public interface VariableConnectionPointDescriptor extends ConnectionBrowserConnectionPointDescriptor {
9         
10         public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException;
11         public Variable getVariable(ReadGraph graph) throws DatabaseException;
12         public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException;
13         public String getURI(ReadGraph graph) throws DatabaseException;
14         public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;
15         public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;
16         
17 }