X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2Fvariables%2FConnection.java;fp=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2Fvariables%2FConnection.java;h=b404932e7a58c6d59bd98917c30dee81df36d788;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=755c764d94374d93ea8d17f3cf9f0522b8f2b33d;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/Connection.java b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/Connection.java index 755c764d9..b404932e7 100644 --- a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/Connection.java +++ b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/Connection.java @@ -1,25 +1,25 @@ -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; - -public interface Connection { - - /** - * Return absolute URIs of the connection points. An optional (may be null) relationType may be used - * to filter the returned connection points. - */ - Collection getConnectionPointURIs(ReadGraph graph, Resource relationType) throws DatabaseException; - /** - * Return the connection points. An optional (may be null) relationType may be used - * to filter the returned connection points. - */ - Collection getConnectionPoints(ReadGraph graph, Resource relationType) throws DatabaseException; - - Collection getConnectionPointDescriptors(ReadGraph graph, Resource relationType) throws DatabaseException; - -} +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; + +public interface Connection { + + /** + * Return absolute URIs of the connection points. An optional (may be null) relationType may be used + * to filter the returned connection points. + */ + Collection getConnectionPointURIs(ReadGraph graph, Resource relationType) throws DatabaseException; + /** + * Return the connection points. An optional (may be null) relationType may be used + * to filter the returned connection points. + */ + Collection getConnectionPoints(ReadGraph graph, Resource relationType) throws DatabaseException; + + Collection getConnectionPointDescriptors(ReadGraph graph, Resource relationType) throws DatabaseException; + +}