X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2Fvariables%2FConnection.java;h=4521ec90c0b709028e99e1dbce52c47ef13dd2b5;hb=a1c4624cd37bf8c3ef857b4fc5c89269acf170cc;hp=755c764d94374d93ea8d17f3cf9f0522b8f2b33d;hpb=969bd23cab98a79ca9101af33334000879fb60c5;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..4521ec90c 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,27 @@ -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; + + Connection2 getConnection2(); + +}