+ protected Resource componentConnectionType(ReadGraph g, Resource componentConRel1, Resource componentConRel2) throws DatabaseException {
+ StructuralResource2 s = StructuralResource2.getInstance(g);
+ return s.Connection;
+ }
+
+ protected Resource diagramConnectionType(ReadGraph g, Resource componentConnectionType) throws DatabaseException {
+ ModelingResources MOD = ModelingResources.getInstance(g);
+ if (componentConnectionType != null) {
+ Resource ct = g.getPossibleObject(componentConnectionType, MOD.ConnectionTypeToDiagramConnectionType);
+ if (ct != null)
+ return ct;
+ }
+ DiagramResource d = DiagramResource.getInstance(g);
+ return d.RouteGraphConnection;
+ }
+