]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - 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
index 5b18bba00c271be3d346faf9432ed2e4039f8cb7..c4a3fee48f448214f48415539b756ade1b07f272 100644 (file)
@@ -1,22 +1,17 @@
-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