X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2Fvariables%2FStandardProceduralChildVariable.java;h=62d574633b8d948154b4804d997b9a6ef4da3b45;hb=1a8971ec56f21b4532e22d787c3f5a15df0b5f2b;hp=a5b50f6f36bc5dc7f1368ff0acc80d9ea4a46e23;hpb=1dfeb7d5c49b1391cd9d877e1eddab18995cb151;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java index a5b50f6f3..62d574633 100644 --- a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java +++ b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java @@ -75,7 +75,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { } @Override - public Collection getConnectionPoints(ReadGraph graph, Resource relationType) throws DatabaseException { + public Collection getConnectionPoints(ReadGraph graph, Variable component_, Resource relationType) throws DatabaseException { Set result = new THashSet(); for(Pair cp : cps) { @@ -93,7 +93,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { } @Override - public Collection getConnectionPointURIs(ReadGraph graph, Resource relationType) throws DatabaseException { + public Collection getConnectionPointURIs(ReadGraph graph, Variable component_, Resource relationType) throws DatabaseException { Set result = new THashSet(); for(Pair cp : cps) { @@ -111,7 +111,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { } @Override - public Collection getConnectionPointDescriptors(ReadGraph graph, Resource relationType) throws DatabaseException { + public Collection getConnectionPointDescriptors(ReadGraph graph, Variable component_, Resource relationType) throws DatabaseException { Set result = new THashSet(); for(Pair cp : cps) { @@ -271,7 +271,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { public Resource getType(ReadGraph graph, Resource baseType) throws DatabaseException { if (graph.isInheritedFrom(type, baseType)) return type; - throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type"); + throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type", -1); } @Override