-package org.simantics.structural2.variables;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.db.layer0.variable.Variable;\r
-import org.simantics.structural2.Functions.InterfaceResolution;\r
-\r
-public interface VariableConnectionPointDescriptor {\r
- \r
- public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException;\r
- public Variable getVariable(ReadGraph graph) throws DatabaseException;\r
- public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException;\r
- public String getURI(ReadGraph graph) throws DatabaseException;\r
- public Collection<InterfaceResolution> getInterfaceDescription(ReadGraph graph) throws DatabaseException;\r
- public boolean isLeaf(ReadGraph graph) throws DatabaseException;\r
- public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;\r
- public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;\r
- \r
+package org.simantics.structural2.variables;
+
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.db.layer0.variable.Variable;
+
+public interface VariableConnectionPointDescriptor extends ConnectionBrowserConnectionPointDescriptor {
+
+ public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException;
+ public Variable getVariable(ReadGraph graph) throws DatabaseException;
+ public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException;
+ public String getURI(ReadGraph graph) throws DatabaseException;
+ public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;
+ public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;
+
}
\ No newline at end of file