]> 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 403280aea6eb0279841d21bbd0d12a4914f99c9d..c4a3fee48f448214f48415539b756ade1b07f272 100644 (file)
@@ -1,21 +1,16 @@
 package org.simantics.structural2.variables;
 
 package org.simantics.structural2.variables;
 
-import java.util.Collection;
-
 import org.simantics.db.ReadGraph;
 import org.simantics.db.Resource;
 import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.layer0.variable.Variable;
 import org.simantics.db.ReadGraph;
 import org.simantics.db.Resource;
 import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.layer0.variable.Variable;
-import org.simantics.structural2.Functions.InterfaceResolution;
 
 
-public interface VariableConnectionPointDescriptor {
+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 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 Collection<InterfaceResolution> getInterfaceDescription(ReadGraph graph) throws DatabaseException;
-       public boolean isLeaf(ReadGraph graph) throws DatabaseException;
        public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;
        public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;
        
        public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;
        public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;